Uploaded image for project: 'Tephra'
  1. Tephra
  2. TEPHRA-287

ActionChange.getChangeKey() not implemented correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      The ActionChange.getChangeKey() simply concatenates together the row key, family, and qualifier which could lead to incorrect conflicting keys. For example (rowKey='a', family='bc') would conflict with (rowKey='ab', family='c'). A simple fix would be to prefix each part with the byte length of each part.

        Attachments

        1. TEPHRA-287_v1.patch
          6 kB
          James R. Taylor
        2. TEPHRA-287_v2.patch
          6 kB
          James R. Taylor
        3. TEPHRA-287_v3.patch
          29 kB
          James R. Taylor

          Issue Links

            Activity

              People

              • Assignee:
                jamestaylor James R. Taylor
                Reporter:
                jamestaylor James R. Taylor
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: