]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_journal: Select min commit position for new clients 9179/head
authorVenky Shankar <vshankar@redhat.com>
Thu, 19 May 2016 17:15:34 +0000 (22:45 +0530)
committerVenky Shankar <vshankar@redhat.com>
Fri, 20 May 2016 14:26:35 +0000 (19:56 +0530)
commitdd2e3dae8adb3778e7e381db5dbfca0948571c55
treee8923e39c5fc07d3ae43506c4c6be2c15c290fa6
parent3516c757f25ac54e497100b1a6111bcb7412d519
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>
src/cls/journal/cls_journal.cc
src/cls/journal/cls_journal_client.cc
src/cls/journal/cls_journal_types.h