Created
September 2, 2020 18:32
-
-
Save cbodley/45ce546798ef194e2db5b9cc9eacf9ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ret = target_shards_mgr.finish(); | |
if (ret < 0) { | |
lderr(store->ctx()) << "ERROR: failed to reshard" << dendl; | |
return -EIO; | |
} | |
+ if (ret = f.check("link-bucket"); ret < 0) { | |
+ return ret; | |
+ } | |
ret = store->ctl()->bucket->link_bucket(new_bucket_info.owner, new_bucket_info.bucket, bucket_info.creation_time, null_yield); | |
if (ret < 0) { | |
lderr(store->ctx()) << "failed to link new bucket instance (bucket_id=" << new_bucket_info.bucket.bucket_id << ": " << cpp_strerror(-ret) << ")" << dendl; | |
return ret; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment