Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.89.20100924, 0.89-fb, 0.94.1
-
None
-
Reviewed
Description
Ning reported that the performance of deletes is slower than the performance of Puts. This should not be the case.
On digging up, it turns out that there is a difference between multiPut and multiDelete in the way we grab locks.
multiPut grabs all the locks optimistically and processes the puts one by one. multiDelete grabs locks and releases
them one at a time, for each delete operation, as if it were done separately. This may be causing a performance
slow down for deletes. Trying to improve it.
Attachments
Attachments
Issue Links
- requires
-
HBASE-5996 Improve multiPut/multiDelete by moving HLog.append and updateTimestamp out of the updateLock.readLock.lock()/unlock() functionality
- Closed