glusterd2 icon indicating copy to clipboard operation
glusterd2 copied to clipboard

bitrot management and API support in GD2

Open atinmu opened this issue 8 years ago • 4 comments

Things to be done

Bitrot management daemon

ReST APIs to be defined:

volume bitrot <VOLNAME> {enable|disable} volume bitrot scrub-throttle {lazy|normal|aggressive} volume bitrot scrub-frequency {hourly|daily|weekly|biweekly|monthly} volume bitrot scrub {pause|resume|status|ondemand}

atinmu avatar Nov 15 '17 15:11 atinmu

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

atinmu avatar Nov 30 '17 10:11 atinmu

@kotreshhr Please cross check the check list for the completion of the items and start ticking out the ones which are being completed here.

atinmu avatar Jan 29 '18 04:01 atinmu

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

kotreshhr avatar Jan 29 '18 05:01 kotreshhr

This is mostly done. Need to go through if there any pending TODOs and add tests

kotreshhr avatar Feb 08 '18 07:02 kotreshhr