Details
Description
Our logic of later deletion of db files doesn't work if node is ejected and forgets about non-standard db path it had. If that was the case it cannot know where old DB files are thus it's unable to delete them freeing space.
NOTE: 2.0 as of now actually preserves it's db path after failover. But not 1.8.1 and I'd consider this preservation a 2.0 bug. Even if not, people can specify different DB path at node re-initialization and that'll also lead to losing track of old db files.
Attachments
For Gerrit Dashboard: MB-5669 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21397,4 | MB-5669 Remove unused bucket files when data path changes. | master | ns_server | Status: MERGED | +2 | +1 |
23113,2 | MB-7344: don't allow changing data path of provisioned nodes | 2.0.0 | ns_server | Status: MERGED | +2 | +1 |