<< " client." << client << " on " << *in << dendl;
// this cap now follows a later snap (i.e. the one initiating this flush, or later)
- cap->client_follows = MAX(follows, in->first) + 1;
+ cap->client_follows = MAX(snap, (snapid_t)(in->first + 1));
// we can prepare the ack now, since this FLUSHEDSNAP is independent of any
// other cap ops. (except possibly duplicate FLUSHSNAP requests, but worst
}
if (pi->client_ranges.count(client)) {
- if (in->last == follows+1) {
+ if (in->last == snap) {
dout(10) << " removing client_range entirely" << dendl;
pi->client_ranges.erase(client);
} else {