bool fix)
{
RGWUserBuckets user_buckets;
- bool done;
bool is_truncated;
string marker;
}
}
}
- done = (buckets.size() < max_entries);
- } while (!done);
+ } while (is_truncated);
}
static bool bucket_object_check_filter(const string& oid)
RGWUserBuckets buckets;
string marker;
- bool done;
bool is_truncated;
do {
}
flusher.flush();
- done = (m.size() < max_entries);
- } while (!done);
+ } while (is_truncated);
formatter->close_section();
} else if (!bucket_name.empty()) {
map<string, RGWBucketEnt>::reverse_iterator riter = m.rbegin();
marker = riter->first;
}
- } while (!done);
+ } while (is_truncated && !done);
send_end:
if (!started) {
void RGWStatAccount::execute()
{
string marker;
- bool done;
bool is_truncated;
uint64_t max_buckets = s->cct->_conf->rgw_list_buckets_max_chunk;
}
buckets_count += m.size();
- done = (m.size() < max_buckets);
}
- } while (!done);
+ } while (is_truncated);
}
int RGWGetBucketVersioning::verify_permission()
{
CephContext *cct = store->ctx();
size_t max_entries = cct->_conf->rgw_list_buckets_max_chunk;
- bool done;
bool is_truncated;
string marker;
int ret;
return ret;
}
}
- done = (buckets.size() < max_entries);
- } while (!done);
+ } while (is_truncated);
ret = store->complete_sync_user_stats(user_id);
if (ret < 0) {
return -ENOENT;
}
- bool done;
bool is_truncated;
string marker;
CephContext *cct = store->ctx();
marker = it->first;
}
- done = (m.size() < max_buckets);
- } while (!done);
+ } while (is_truncated);
ret = rgw_delete_user(store, user_info, op_state.objv);
if (ret < 0) {
return -EINVAL;
}
- bool done;
bool is_truncated;
string marker;
CephContext *cct = store->ctx();
return ret;
}
- done = (m.size() < max_buckets);
- } while (!done);
+ } while (is_truncated);
}
op_state.set_user_info(user_info);