copy from data_dir config to variable datadir
This commit is contained in:
parent
8ee98a51af
commit
23664d7d24
@ -271,6 +271,10 @@ int ObServerReloadConfig::operator()()
|
||||
K(data_disk_size), K(data_disk_percentage), K(reserved_size));
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
ObSysVariables::set_value("datadir", GCONF.data_dir);
|
||||
}
|
||||
return real_ret;
|
||||
}
|
||||
|
||||
|
@ -21,9 +21,9 @@
|
||||
namespace oceanbase
|
||||
{
|
||||
namespace common
|
||||
{
|
||||
class ObObj;
|
||||
}
|
||||
{
|
||||
class ObObj;
|
||||
}
|
||||
|
||||
namespace observer
|
||||
{
|
||||
@ -56,10 +56,10 @@ private:
|
||||
PRIORITY,
|
||||
CACHE_SIZE,
|
||||
CACHE_STORE_SIZE,
|
||||
CACHE_MAP_SIZE,
|
||||
KV_CNT,
|
||||
HIT_RATIO,
|
||||
TOTAL_PUT_CNT,
|
||||
CACHE_MAP_SIZE,
|
||||
KV_CNT,
|
||||
HIT_RATIO,
|
||||
TOTAL_PUT_CNT,
|
||||
TOTAL_HIT_CNT,
|
||||
TOTAL_MISS_CNT,
|
||||
HOLD_SIZE
|
||||
|
Loading…
x
Reference in New Issue
Block a user