]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMap: fix osd_epochs update 1304/head
authorSage Weil <sage@inktank.com>
Sat, 22 Feb 2014 17:29:15 +0000 (09:29 -0800)
committerSage Weil <sage@inktank.com>
Sun, 23 Feb 2014 20:15:27 +0000 (12:15 -0800)
commit73c59a022f011cb8d84ef5e8fed8df50846bd223
treed828f77f46f211946fe809bb671b3c823c4baee6
parentdf3ba724d53b589095225d8309a340a06fbc3ed0
mon/PGMap: fix osd_epochs update

The insert() call here does not overwrite a previous entry, which means
that the osd_epochs map is never moving forward in time.  This seems to
have been broken since it was introduced in 091809b814.

Backport: emperor, dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/PGMap.cc