In V95 of the China-domestically developed GBase 8a MPP database from GBASE, both expansion and node replacement are carried out through rebalance . When a task is launched, every table that must take part is inserted into gclusterdb.rebalancing_status . In some cases โ for example when a table has been dropped โ the number of rows in that task table can go down instead of up.
Symptom
A customer compared the rebalance progress on two consecutive days:
Pending STARTING tasks fell from 3255 to 3251 .
COMPLETED tasks fell from 563 to 560 .
Pending tasks only decrease as rebalance proceeds, so 4 tables were indeed processed that day (3255 โ 3251). Completed tasks should have risen by 4, yet they dropped by 3 (560 โ 563). Why?
Cause
When a rebalance task moves from STARTING to RUNNING , the task is deleted if the table it references no longer exists โ for instance because it was dropped.โฆ