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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.20.0
    • 0.20.0
    • Client
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: