【产品名称】OceanBase
【产品版本】3.1.1
【问题描述】修改unit,报ERROR 4624 (HY000): machine resource ‘"172.20.0.10:2882"MAX_MEM’ is not enough to hold a new unit。操作如下:
mysql> select name,max_memory/1024/1024/1024 from __all_unit_config; show parameters like ‘system_memory’;±----------------±--------------------------+ | name | max_memory/1024/1024/1024 | ±----------------±--------------------------+ | sys_unit_config | 1.500000000000 | | mini | 2.000000000000 | ±----------------±--------------------------+
root@172.20.0.10 : oceanbase 01:33:31> show parameters like ‘system_memory’; ±------±---------±------------±---------±--------------±----------±------±------------------------------------------------------------------------------------------------------------------------------------------------------------------------±---------±--------±--------±------------------+ | zone | svr_type | svr_ip | svr_port | name | data_type | value | info | section | scope | source | edit_level | ±------±---------±------------±---------±--------------±----------±------±------------------------------------------------------------------------------------------------------------------------------------------------------------------------±---------±--------±--------±------------------+ | zone1 | observer | 172.20.0.10 | 2882 | system_memory | NULL | 3G | the memory reserved for internal use which cannot be allocated to any outer-tenant, and should be determined to guarantee every server functions normally. Range: [0M,) | OBSERVER | CLUSTER | DEFAULT | DYNAMIC_EFFECTIVE | | zone2 | observer | 172.20.0.11 | 2882 | system_memory | NULL | 3G | the memory reserved for internal use which cannot be allocated to any outer-tenant, and should be determined to guarantee every server functions normally. Range: [0M,) | OBSERVER | CLUSTER | DEFAULT | DYNAMIC_EFFECTIVE | | zone3 | observer | 172.20.0.12 | 2882 | system_memory | NULL | 3G | the memory reserved for internal use which cannot be allocated to any outer-tenant, and should be determined to guarantee every server functions normally. Range: [0M,) | OBSERVER | CLUSTER | DEFAULT | DYNAMIC_EFFECTIVE | ±------±---------±------------±---------±--------------±----------±------±------------------------------------------------------------------------------------------------------------------------------------------------------------------------±---------±--------±--------±------------------+ 3 rows in set (0.051 sec)