Skip to content

Commit

Permalink
send_database_status uses the inner structure
Browse files Browse the repository at this point in the history
cassandra_compaction_task without initializing,
the fix takes care of that.
Closes-Bug: #1588156

Change-Id: Ied936db6ffa6b23c86d4f6a76680d9a550fee89f
  • Loading branch information
arvindvis committed Jun 2, 2016
1 parent f401855 commit 49f6637
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nodemgr/database_nodemgr/database_event_manager.py
Expand Up @@ -253,6 +253,7 @@ def database_periodic(self):
def send_database_status(self):
cassandra_status_uve = CassandraStatusUVE()
cassandra_status = CassandraStatusData()
cassandra_status.cassandra_compaction_task = CassandraCompactionTask()
# Get compactionstats
compaction_count = subprocess.Popen(["nodetool", "compactionstats"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Expand Down

0 comments on commit 49f6637

Please sign in to comment.