ceph/src/osdc
Sage Weil 997d67e5b1 mon: revamp subscribe protocol [backward compatible protocol change]
Before, we would provide "have" and a bool "onetime" flag.  The struct was
also screwed up with an extra __le64.  Then have=0 was a special case
that meant "give me the latest".

The problem is this is ambiguous between the usual "give me everything
since X" and "give me your latest", because you might actually have 0 and
want 1..current.

Changes protocol and cleans up the struct:

 - now "start" and "flags", where only 1 flag (ONETIME) is defined
 - clean up sub_want_* methods throughout
 - fix all sub_want callers to ask for _start_ (not have) epoch, or 0 for
   any/latest
 - add a feature bit; talks old clients w/o that bit

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-26 15:03:11 -07:00
..
Blinker.h
Filer.cc
Filer.h
Journaler.cc
Journaler.h
ObjectCacher.cc
ObjectCacher.h
Objecter.cc mon: revamp subscribe protocol [backward compatible protocol change] 2010-07-26 15:03:11 -07:00
Objecter.h clean up new pool crush rule values [backward compatible protocol change] 2010-07-20 15:07:12 -07:00
rados_bencher.h