-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DNM: hammer: OSD reporting ENOTEMPTY and crashing #8161
Closed
Closed
Conversation
This file contains 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
Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit 0fb67c7) Conflict: src/test/objectstore/store_test.cc: * t.create_collection only has one argument * strip std::move because hammer does not support c++11
See comment for explanation. Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit aec5560)
If the file has an alt attr, there are two possible matching ghobjects. We want to make sure we choose the right one for the short name we have. If we don't, a split while there are two objects linking to the same inode will result in one of the links being orphaned in the source directory, resulting in #14766. Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit 850ce11)
Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit 8b64432)
1/2 of objects will now have long names, and we'll shift the region of the hash space where new objects are created every 1024 objects created. Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit 4b44720) Conflicts: src/test/objectstore/store_test.cc there was long name tests back in hammer but they were removed, hence the conflict. Also the poolid argument does not exist in hammer and was just a hardcoded 0.
Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit f3a78e0) Conflicts: src/test/objectstore/store_test.cc: * strip std::move because hammer does not support on c++11 * remove EnterExit because it does not exist and is a noop * queue_transaction has Transaction* not Transaction&
Signed-off-by: Sage Weil <sage@redhat.com> (cherry picked from commit 2162990) Conflicts: src/test/objectstore/store_test.cc
Signed-off-by: Sage Weil <sage@redhat.com> (cherry picked from commit 82d2132) Conflicts: src/test/objectstore/store_test.cc
ghost
changed the title
hammer: OSD reporting ENOTEMPTY and crashing
DNM: hammer: OSD reporting ENOTEMPTY and crashing
Mar 17, 2016
@dachary Has this one gone through the suite? |
@athanatos not yet |
@dachary: @athanatos opened #9277 for http://tracker.ceph.com/issues/15149 . . . shall we close this PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
http://tracker.ceph.com/issues/15149