summaryrefslogtreecommitdiffstats
path: root/events/eventskeygen.py
diff options
context:
space:
mode:
authorAshish Pandey <aspandey@redhat.com>2016-08-30 14:17:58 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-09-07 09:10:08 -0700
commite1584b1c1df656612f6233ac40ba55f29591b0c3 (patch)
tree1c0eb8a9101f510930e63f6bd47e0f42e72d105a /events/eventskeygen.py
parent86e312d872a957afff1e508f13f62c4102dba22d (diff)
cluster/ec: Add events for EC translator
This patch will generates events in following cases which will be consumed by new event framework. Consider an EC volume with (K+M) configuration K = Data bricks M = Redundancy bricks 1- EVENT_EC_MIN_BRICKS_NOT_UP - When minimum "K" number of bricks, required for any ec fop, are not up. 2- EVENT_EC_MIN_BRICKS_UP When minimum "K" number of bricks, required for any ec fop, are up. Change-Id: I0414b8968c39740a171e5aa14b087afd524d574f BUG: 1371470 Signed-off-by: Ashish Pandey <aspandey@redhat.com> Reviewed-on: http://review.gluster.org/15348 Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'events/eventskeygen.py')
-rw-r--r--events/eventskeygen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/events/eventskeygen.py b/events/eventskeygen.py
index ac5a0f78a3c..7f3f6572a04 100644
--- a/events/eventskeygen.py
+++ b/events/eventskeygen.py
@@ -124,8 +124,8 @@ keys = (
"EVENT_COMPARE_FRIEND_VOLUME_FAILED",
"EVENT_NFS_GANESHA_EXPORT_FAILED",
#ec events
- "EVENT_EC_DATA_BRICKS_NOT_UP",
- "EVENT_EC_DATA_BRICKS_UP",
+ "EVENT_EC_MIN_BRICKS_NOT_UP",
+ "EVENT_EC_MIN_BRICKS_UP",
#georep async events
"EVENT_GEOREP_FAULTY",
#quota async events