accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-1897) Bug in MemKeyConversionIterator constructor
Date Fri, 15 Nov 2013 18:03:22 GMT
Bill Havanki created ACCUMULO-1897:

             Summary: Bug in MemKeyConversionIterator constructor
                 Key: ACCUMULO-1897
             Project: Accumulo
          Issue Type: Bug
          Components: tserver
    Affects Versions: 1.5.0, 1.6.0, 1.7.0
            Reporter: Bill Havanki

The constructor for {{InMemoryMap.MemKeyConversionIterator}} which takes a starting key does
not correctly clone the key. The parameter to the constructor is {{startKey}}, but the code
looks at the {{currKey}} field to check whether a key is available.

if (currKey != null)  // <- should be startKey != null
        currKey = (MemKey) startKey.clone();

This class was introduced in version 1.5.0, and is not present in 1.4.x.

This message was sent by Atlassian JIRA

View raw message