1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00

5 Commits

Author SHA1 Message Date
Prashanth Pai
4f7c8135bf plugins: Create 'api' package for each plugin
In Go, every directory is a distinct package. There is no such thing as
a subpackage. Having `api` is a separate package as a subdirectory in
each plugin ensures that we will not run into cyclic dependency issues.

Signed-off-by: Prashanth Pai <ppai@redhat.com>
2018-07-26 11:53:42 +05:30
rishubhjain
96a5d9d7b8 Using peerid instead of nodeid 2018-06-25 13:13:47 +05:30
N Balachandran
b3f10314ca rebalance: Added eventnotify handling
Signed-off-by: N Balachandran <nbalacha@redhat.com>
2018-05-29 17:52:56 +05:30
N Balachandran
acbff634e8 gd2/rebalance: Formatting changes
Signed-off-by: N Balachandran <nbalacha@redhat.com>
2018-05-29 17:52:56 +05:30
N Balachandran
3f1f8eaf47 GD2/rebalance: Rebalance plugin
Rebalance plugin (part 1) implements:
- rebalance start (with fix-layout and force options)
- rebalance stop
- rebalance status

Rebalance status works as long as the processes are running.

Part 2 (to be implemented) will handle the GF_HNDSK_EVENT_NOTIFY
post which the status op should work as expected.

Signed-off-by: N Balachandran <nbalacha@redhat.com>
2018-05-29 17:52:56 +05:30