Repository navigation
Conversation
There was a problem hiding this comment.
as discussed in irc, i think it's safe to do away with the retry loop here in InitBucketShardStatusCR, and just do this initial write with exclusive=false so it never fails with EEXIST or ECANCELED
there may be racing writers, but Init should always win these races - this is accomplished by objv.generate_write_new_ver(), which will change the 'tag' in cls_version and cause other writers to fail on cls_version_check()
There was a problem hiding this comment.
ok. will do that in a separate commit, as this should not change functionality here
eaf3fd8 to
92531f2
Compare
|
jenkins test make check |
92531f2 to
a9898d7
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
a9898d7 to
b3cc52e
Compare
|
|
b3cc52e to
19ea5b3
Compare
|
all disable/enable tests are now passing |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
There was a problem hiding this comment.
if we get an error like ENOENT trying to delete a shard, we should still try to delete the rest
There was a problem hiding this comment.
ENOENT is converted to success in the called CR
There was a problem hiding this comment.
there may be other error codes. i think we should drop the comment and || status < 0 part
Signed-off-by: Yuval Lifshitz <[email protected]>
when writign the sync status object Signed-off-by: Yuval Lifshitz <[email protected]>
Signed-off-by: Yuval Lifshitz <[email protected]>
19ea5b3 to
52f3113
Compare
There was a problem hiding this comment.
i'm not sure this is a good reason to crash, can we take out the assert?
There was a problem hiding this comment.
there may be other error codes. i think we should drop the comment and || status < 0 part
There was a problem hiding this comment.
too many tabs here and elsewhere. we treat tabs as 8 spaces, and your editor should be picking up these modelines:
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab ft=cppfor vim, i enabled this with set modeline in my .vimrc
There was a problem hiding this comment.
not sure this is helpful since the coroutine logging will already show CheckAllBucketShardStatusIsIncremental?
There was a problem hiding this comment.
we just set bucket_status.state = BucketSyncState::Stopped; in the block above
There was a problem hiding this comment.
right. i should move this block before the one that update the bucket wide state object
and pass correct generation and num shards when deleting per shard status objects when disabling during incremental sync Signed-off-by: Yuval Lifshitz <[email protected]>
52f3113 to
01a9d9d
Compare
Signed-off-by: Yuval Lifshitz [email protected]
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox