glusterd2
glusterd2 copied to clipboard
bitrot management and API support in GD2
Things to be done
Bitrot management daemon
ReST APIs to be defined:
volume bitrot <VOLNAME> {enable|disable}
volume bitrot
Checklist
- [ ] ReST APIs availibility in wiki
- [ ] CLI commands
- [ ] Sufficient logging
- [ ] Availibility of metrics data if applicable
- [ ] Xlator options table upto date?
- [ ] Test cases & test coverage of the functionality
@kotreshhr Please cross check the check list for the completion of the items and start ticking out the ones which are being completed here.
The checked ones are working via REST API
- [x] volume bitrot {enable|disable}
- [x] volume bitrot scrub-throttle {lazy|normal|aggressive}
- [x] volume bitrot scrub-frequency {hourly|daily|weekly|biweekly|monthly}
- [x] volume bitrot scrub {pause|resume|ondemand}
- [x] volume bitrot scrub {status}\
- [x] CLI support for all above
This is mostly done. Need to go through if there any pending TODOs and add tests