Skip to content

Commit

Permalink
ignore update_capabilites if unsupported
Browse files Browse the repository at this point in the history
catch and carry on.

Closes: gnocchixyz#996
  • Loading branch information
gord chung authored and gord chung committed Oct 22, 2018
1 parent 6f06026 commit a4e7adf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gnocchi/cli/metricd.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,12 @@ def _run_job(self):
LOG.error("Unexpected error processing assigned job",
exc_info=True)
LOG.debug("%d metrics processed from %d sacks", m_count, s_count)
# Update statistics
self.coord.update_capabilities(self.GROUP_ID, self.store.statistics)
try:
# Update statistics
self.coord.update_capabilities(self.GROUP_ID,
self.store.statistics)
except tooz.NotImplemented:
pass
if sacks == self._get_sacks_to_process():
# We just did a full scan of all sacks, reset the timer
self._last_full_sack_scan.reset()
Expand Down

0 comments on commit a4e7adf

Please sign in to comment.