Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-803

Add Reverse Logical Time as a Time Type

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tserver
    • Labels:
      None

      Description

      In a context where we are doing aggregation/combination of multiple values for a given key it may be useful to iterate over the values associated with that key in the order in which the mutations were applied (FIFO), instead of the FILO order that seems to occur when using TimeType.LOGICAL.

      I encountered when implemeting a checkAndPut operation that would ensure that the previous value was expected before putting a new value. In this case, if the previous value was not as expected, the mutation would be ignored.

      Perhaps it is useful in a general case?

        Attachments

        1. ACCUMULO-803.patch
          14 kB
          Drew Farris
        2. ACCUMULO-803.patch
          12 kB
          Drew Farris
        3. ACCUMULO-803-3.patch
          19 kB
          Keith Turner
        4. RLTest.java
          2 kB
          Keith Turner

          Issue Links

            Activity

              People

              • Assignee:
                drew.farris Drew Farris
                Reporter:
                drew.farris Drew Farris
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: