Since this commonly occurs and isn't an error of concern at level 1.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
completion.reset(new RGWMetadataLogInfoCompletion(
[this](int ret, const cls_log_header& header) {
if (ret < 0) {
- ldpp_dout(sync_env->dpp, 1) << "ERROR: failed to read mdlog info with "
- << cpp_strerror(ret) << dendl;
+ if (ret != -ENOENT) {
+ ldpp_dout(sync_env->dpp, 1) << "ERROR: failed to read mdlog info with "
+ << cpp_strerror(ret) << dendl;
+ }
} else {
shard_info.marker = header.max_marker;
shard_info.last_update = header.max_time.to_real_time();