A recent bug brought up a concern around the process of deleting the on-disk data files when a node is failed over or removed from the cluster.
I think it would be a better approach to preserve this data in the event that it is needed. Perhaps moving them out of the way and messaging to the user that they can clean them up manually when needed.
|For Gerrit Dashboard: &For+MB-4564=message:MB-4564|
|14628,3||MB-4564 Don't delete database files when node leaves cluster.||ns_server||Status: MERGED||+2||+1|
|14833,1||Merge remote-tracking branch 'origin/branch-181' into branch-18||ns_server||Status: MERGED||+2||+1|
|Field||Original Value||New Value|
|Fix Version/s||1.8.1 [ 10249 ]|
|Assignee||Aleksey Kondratenko [ alkondratenko ]|
|Fix Version/s||1.8.1 [ 10295 ]|
|Fix Version/s||1.8.2 [ 10249 ]|
|Assignee||Aleksey Kondratenko [ alkondratenko ]||Dipti Borkar [ dipti ]|
|Priority||Major [ 3 ]||Blocker [ 1 ]|
|Assignee||Dipti Borkar [ dipti ]||Aliaksey Artamonau [ aliaksey artamonau ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Summary||Don't delete data files after failover or remove||Don't delete database files when node leaves cluster.|