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

BufferedMutatorImpl submit the same mutation repeatedly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.4.0, 1.4.1, 1.4.2
    • 1.4.2, 2.0.0
    • Client
    • None
    • Reviewed
    • This change fixes multithreading issues in the implementation of BufferedMutator. BufferedMutator should not be used with 1.4 releases prior to 1.4.2.

    Description

      BMI pass a iter of inner buffer to AsyncProcess to take the undealt mutations, AsyncProcess call iter#next to get the mutation and then call iter#remove to delete the mutation from inner buffer. Hence, There's a good chance that  the mutation is processed repeatedly in case there are a bunch of threads which are running the flush.

      Attachments

        1. HBASE-20017.branch-1.4.v0.patch.patch
          9 kB
          Chia-Ping Tsai
        2. HBASE-20017.branch-1.v0.patch.patch
          10 kB
          Chia-Ping Tsai
        3. HBASE-20017.v0.patch.patch
          7 kB
          Chia-Ping Tsai

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: