Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
hbase-filesystem-1.0.0-alpha1
-
None
-
None
-
Reviewed
Description
While implementing HBASE-26437, I was fighting with unit tests which just wouldn't complete. After adding the code change to delete the locks held by the src in a mv src dst operation, releasing the dst lock would claim that the current thread doesn't hold the lock.
After investigating, the specific contract test in question is doing a rename of the form: mv /foo /foodest. This actually breaks the logic which tries to determine if a lock's path is contained beneath the path we're tryign to clean up. Specifically: cleaning up locks beneath /foo incorrectly removes locks for /foodest
Attachments
Issue Links
- Discovered while testing
-
HBASE-26437 [hboss] Rename does not clean up znodes for src location
- Resolved
- links to