eBay / HomeObject

Replicated BLOB Store built upon HomeStore
Apache License 2.0
6 stars 15 forks source link

clear pg for moved out member #231

Open JacksonYao287 opened 4 days ago

JacksonYao287 commented 4 days ago

when a member is moved out of a pg, we should clean up the pg and reclaim the resource allocated to this pg, including: 1 reset all the chunk allocator and return the chunks to chunk selector so that they can be assigned to other pg 2 remove indextable of this pg 3 remove this pg from pg map 4 delete pg and related shard super blk

xiaoxichen commented 4 days ago

Please do consider persistency and cp. Roughly thinking I believe it is fine but need further analyze .

JacksonYao287 commented 4 days ago

also, pls consider the crash recover