Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
bool test = false;
bool verbose = false;
const char *outfn = 0;
- bool clobber = false;
bool reweight = false;
int add_item = -1;
common_init_finish(g_ceph_context);
FOR_EACH_ARG(args) {
- if (CEPH_ARGPARSE_EQ("clobber", '\0')) {
- clobber = true;
- } else if (CEPH_ARGPARSE_EQ("decompile", 'd')) {
+ if (CEPH_ARGPARSE_EQ("decompile", 'd')) {
CEPH_ARGPARSE_SET_ARG_VAL(&infn, OPT_STR);
decompile = true;
} else if (CEPH_ARGPARSE_EQ("infn", 'i')) {
{
dout(1) << "send_observe_requests " << dendl;
- bool sent = false;
for (int i=0; i<PAXOS_NUM; i++) {
MMonObserve *m = new MMonObserve(ctx->mc.monmap.fsid, i, map_ver[i]);
dout(1) << "mon" << " <- observe " << get_paxos_name(i) << dendl;
ctx->mc.send_mon_message(m);
- sent = true;
}
registered.clear();