HBase
  1. HBase
  2. HBASE-7069

HTable.batch does not have to be synchronized

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.3
    • Component/s: Performance
    • Labels:
      None

      Description

      This was raised on the mailing list by Yousuf.
      HTable.batch(...) is synchronized and there appears to be no reason for it.

      (flushCommits makes the same call to connection.processBatch and it also is not synchronized)

      This is pretty bad actually marking critical.

      0.96 is fine BTW.

      1. 7069.txt
        1 kB
        Lars Hofhansl

        Activity

        Lars Hofhansl created issue -
        Lars Hofhansl made changes -
        Field Original Value New Value
        Component/s Performance [ 12314193 ]
        Lars Hofhansl made changes -
        Attachment 7069.txt [ 12551304 ]
        Lars Hofhansl made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Summary HTable.batch does not have to synchronized HTable.batch does not have to be synchronized
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Lars Hofhansl
            Reporter:
            Lars Hofhansl
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development