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

Put on client-side uses passed-in byte[]s rather than always using copies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.20.0
    • Fix Version/s: 0.20.0
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      During review of Put with ryan, found that we are using a passed in reference to family in add() rather than a local copy. If the backing array changed values, this could cause trouble.

        Attachments

        1. HBASE-1717-v1.patch
          2 kB
          Jonathan Gray
        2. HBASE-1717-v2.patch
          2 kB
          Jonathan Gray
        3. HBASE-1717-v3.patch
          2 kB
          Jonathan Gray

          Activity

            People

            • Assignee:
              streamy Jonathan Gray
              Reporter:
              streamy Jonathan Gray
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: