]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: do not trust small values in osd epoch cache 4049/head
authorSage Weil <sage@redhat.com>
Thu, 12 Feb 2015 21:49:50 +0000 (13:49 -0800)
committerLoic Dachary <ldachary@redhat.com>
Tue, 17 Mar 2015 17:08:14 +0000 (18:08 +0100)
commit92c352d047c84035478e71828e32f554d9f507fc
treedca9a9e627470ace5971db30d61b4f767dcbd64d
parent938e03630e075af03780da139ae879b5b0377734
mon/OSDMonitor: do not trust small values in osd epoch cache

If the epoch cache says the osd has epoch 100 and the osd is asking for
epoch 200+, do not send it 100+.

Fixes: #10787
Backport: giant, firefly
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a5759e9b97107488a8508f36adf9ca1aba3fae07)
src/mon/OSDMonitor.cc