if (!mds->is_rejoin()) {
// i am survivor. send strong rejoin.
- // note request authpins, xlocks
+ // note request remote_auth_pins, xlocks
for (hash_map<metareqid_t, MDRequest*>::iterator p = active_requests.begin();
p != active_requests.end();
++p) {
// auth pins
- for (set<MDSCacheObject*>::iterator q = p->second->auth_pins.begin();
- q != p->second->auth_pins.end();
+ for (set<MDSCacheObject*>::iterator q = p->second->remote_auth_pins.begin();
+ q != p->second->remote_auth_pins.end();
++q) {
if (!(*q)->is_auth()) {
int who = (*q)->authority().first;
}
dout(10) << " targeti auth has prepared nlink++" << dendl;
- assert(0); // test hack: verify that remote slave can do a live rollback.
+ //assert(0); // test hack: verify that remote slave can do a live rollback.
// go.
// predirty dentry
mdr->auth_pin(targeti);
+ //assert(0); // test hack: make sure master can handle a slave that fails to prepare...
+
// anchor?
if (mdr->slave_request->get_op() == MMDSSlaveRequest::OP_LINKPREP) {
if (targeti->is_anchored()) {