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

Increment does not extend Mutation but probably should

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.0
    • Client
    • None
    • Reviewed

    Description

      Increment is the only operation in the class of mutators that does not extend Mutation. It mostly duplicates what Mutation provides, but not quite. The signatures for setWriteToWAL and getFamilyMap are slightly different. This can be inconvenient because it requires special case code and therefore could be considered an API design nit. Unfortunately it is not a simple change: The interface is marked stable and the internals of the family map are different from other mutation types. The latter is why I suspect this was not addressed when Mutation was introduced.

      Attachments

        1. 7114.txt
          2 kB
          Michael Stack
        2. 7114v2.txt
          4 kB
          Michael Stack
        3. 7114v3.txt
          3 kB
          Michael Stack
        4. 7114v4.txt
          4 kB
          Michael Stack
        5. 7115v5.txt
          4 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: