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