]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: initialize last_* timestamps on new pgs to creation time
authorSage Weil <sage@redhat.com>
Tue, 8 Mar 2016 18:46:58 +0000 (13:46 -0500)
committerJohn Spray <john.spray@redhat.com>
Thu, 10 Mar 2016 11:18:28 +0000 (11:18 +0000)
commit93fdd95bb96de7d12ebe31b163c3df998562b96d
treed143ac400471081e21b2853e10626e54b42725ee
parentc49de8c1c2096896f76138ad8f2b12cfc1e0c0bf
mon: initialize last_* timestamps on new pgs to creation time

Currently, when you create a pool, until the PGs peer you generate a health
error like

            8 pgs are stuck inactive for more than 300 seconds

which is inaccurate and misleading.  Instead, set the timestamps to the
creation time so that warnings don't appear until it's clear they're stuck.

Fixes: #14952
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGMonitor.cc