]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls_journal: Select min commit position for new clients 9376/head
authorVenky Shankar <vshankar@redhat.com>
Thu, 19 May 2016 17:15:34 +0000 (22:45 +0530)
committerJason Dillaman <dillaman@redhat.com>
Fri, 27 May 2016 18:54:59 +0000 (14:54 -0400)
commit8fbb555befb1415ef5218c8aaa149ca44017d73d
tree832fe4aafb8822a46e57deeea3463d5249d04bfa
parent576ff0ca804779d1eb0b1c44d6ce38e0658b6a05
cls_journal: Select min commit position for new clients

When a new client registers, its commit position is initialized
to the least commit position of all other clients.

Fixes: http://tracker.ceph.com/issues/15757
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit dd2e3dae8adb3778e7e381db5dbfca0948571c55)
src/cls/journal/cls_journal.cc
src/cls/journal/cls_journal_client.cc
src/cls/journal/cls_journal_types.h