Skip to content

Commit

Permalink
rgw: adding OPT_DATA_SYNC_RUN to gc_ops_list so that gc gets
Browse files Browse the repository at this point in the history
initialized for this command.

Fixes: https://tracker.ceph.com/issues/54433
Signed-off-by: Pritha Srivastava <[email protected]>
  • Loading branch information
pritha-srivastava committed Mar 2, 2022
1 parent 8b8a96d commit 364f997
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rgw/rgw_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4240,7 +4240,8 @@ int main(int argc, const char **argv)
OPT::OBJECTS_EXPIRE,
OPT::OBJECTS_EXPIRE_STALE_RM,
OPT::LC_PROCESS,
OPT::BUCKET_SYNC_RUN
OPT::BUCKET_SYNC_RUN,
OPT::DATA_SYNC_RUN
};

raw_storage_op = (raw_storage_ops_list.find(opt_cmd) != raw_storage_ops_list.end() ||
Expand Down

0 comments on commit 364f997

Please sign in to comment.