Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6930

[89-fb] Avoid acquiring the same row lock repeatedly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      When processing the multiPut, multiMutations or multiDelete operations, each IPC handler thread tries to acquire a lock for each row key in these batches. If there are duplicated row keys in these batches, previously the IPC handler thread will repeatedly acquire the same row key again and again.

      So the optimization is to sort each batch operation based on the row key in the client side, and skip acquiring the same row lock repeatedly in the server side.

      Attachments

        1. HBASE-6930.diff
          5 kB
          Liyin Tang

        Activity

          People

            Unassigned Unassigned
            liyin Liyin Tang
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: