Skip to content
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
wants to merge 8 commits into from
Closed

DNM: hammer: OSD reporting ENOTEMPTY and crashing #8161

wants to merge 8 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 16, 2016

@ghost ghost self-assigned this Mar 16, 2016
@ghost ghost added this to the hammer milestone Mar 16, 2016
@ghost ghost added bug-fix core labels Mar 16, 2016
athanatos and others added 8 commits March 17, 2016 12:42
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 ghost changed the title hammer: OSD reporting ENOTEMPTY and crashing DNM: hammer: OSD reporting ENOTEMPTY and crashing Mar 17, 2016
@athanatos
Copy link
Contributor

@dachary Has this one gone through the suite?

@ghost
Copy link
Author

ghost commented Apr 8, 2016

@athanatos not yet

@smithfarm
Copy link
Contributor

@dachary: @athanatos opened #9277 for http://tracker.ceph.com/issues/15149 . . . shall we close this PR?

@smithfarm smithfarm closed this Jun 6, 2016
@smithfarm smithfarm assigned smithfarm and unassigned ghost Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants