commit
7b17da691f3bee8118ac69a7419519017030a4c9 added a 'bucket' field
to this op without bumping the encode version, and is causing failures
on upgrade
Fixes: http://tracker.ceph.com/issues/37703
Signed-off-by: Casey Bodley <cbodley@redhat.com>
string bucket;
void encode(bufferlist& bl) const {
- ENCODE_START(2, 2, bl);
+ ENCODE_START(3, 2, bl);
encode(start_epoch, bl);
encode(end_epoch, bl);
encode(user, bl);
}
void decode(bufferlist::const_iterator& bl) {
- DECODE_START(2, bl);
+ DECODE_START(3, bl);
decode(start_epoch, bl);
decode(end_epoch, bl);
decode(user, bl);
- if (struct_v >= 2) {
+ if (struct_v >= 3) {
decode(bucket, bl);
}
DECODE_FINISH(bl);