]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
journal: update allocated tid when skipping committed entry in player 6552/head
authorMykola Golub <mgolub@mirantis.com>
Thu, 29 Oct 2015 14:07:23 +0000 (16:07 +0200)
committerMykola Golub <mgolub@mirantis.com>
Thu, 12 Nov 2015 11:33:44 +0000 (13:33 +0200)
commitd911641ccb53558c662d62bcba0d2fa279f83585
treeddee231fbdce887ae4f1ccdc6557c65b7ce6e52e
parenta1b690d9d3ef796c1eef72b293c2746fd560b651
journal: update allocated tid when skipping committed entry in player

Otherwise, if on image open, there are no any uncommitted entries in
journal, allocated tid is not updated to the latest commited and
recording always starts from tid=0.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/journal/JournalPlayer.cc
src/test/journal/test_JournalPlayer.cc