Skip to content

Commit

Permalink
Merge pull request #34172 from cbodley/wip-44751
Browse files Browse the repository at this point in the history
radosgw-admin: fix infinite loops in 'datalog list'
  • Loading branch information
cbodley committed May 4, 2020
2 parents 67415ea + 166f38f commit a8762af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_admin.cc
Expand Up @@ -8561,7 +8561,7 @@ int main(int argc, const char **argv)
do {
list<rgw_data_change_log_entry> entries;
if (specified_shard_id) {
ret = datalog_svc->list_entries(shard_id, start_time.to_real_time(), end_time.to_real_time(), max_entries - count, entries, marker, NULL, &truncated);
ret = datalog_svc->list_entries(shard_id, start_time.to_real_time(), end_time.to_real_time(), max_entries - count, entries, marker, &marker, &truncated);
} else {
ret = datalog_svc->list_entries(start_time.to_real_time(), end_time.to_real_time(), max_entries - count, entries, log_marker, &truncated);
}
Expand Down

0 comments on commit a8762af

Please sign in to comment.