]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
uclient: correctly initialize mseq in flush_snaps.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 20 Jul 2011 17:02:01 +0000 (10:02 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 20 Jul 2011 20:22:19 +0000 (13:22 -0700)
commit022c5261800ba6f9642b1f8dc7e44c91b12956eb
tree18626a025a7ff0111f347fc0344186ba9183a4ed
parent4adfd46630967f03cbc6e8aef3893da54b778400
uclient: correctly initialize mseq in flush_snaps.

Previously we set mseq=0 unconditionally; this was a mistake that
creeped in via bitrot. Instead, set mseq from the auth cap.
This bug meant that any inodes which had gotten migrated between
MDSes would have their flush_snap messages dropped by the MDS.
Resolves #1324.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/client/Client.cc