The incoming version of -new- clients required to be one
higher to trigger the new result format.
Yes, this means that "radosgw-admin lc list" against an
un-upgraded OSD will display Unix epoch for lc-entry
start_time (harmless, and in general will not happen).
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit
4db52b18ae5a1eb62af9761aacf9364ebd72b154)
Conflicts:
src/cls/rgw/cls_rgw_ops.h
- adapt for Adam Emerson post-Octopus refactoring
cls_rgw_lc_list_entries_op() {}
void encode(bufferlist& bl) const {
- ENCODE_START(2, 1, bl);
+ ENCODE_START(3, 1, bl);
encode(marker, bl);
encode(max_entries, bl);
ENCODE_FINISH(bl);
}
void decode(bufferlist::const_iterator& bl) {
- DECODE_START(2, bl);
+ DECODE_START(3, bl);
compat_v = struct_v;
decode(marker, bl);
decode(max_entries, bl);