Chen Luo created ASTERIXDB-2379:
-----------------------------------

             Summary: Inconsistent naming for LSM Component timestamps
                 Key: ASTERIXDB-2379
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2379
             Project: Apache AsterixDB
          Issue Type: Improvement
          Components: STO - Storage
            Reporter: Chen Luo


The current naming of LSM components are inconsistent. 
AbstractLSMIndexFileManager.getComponentStartTime/getComponentEndTime assumes a 
component is named as "beginTS-endTS". However, physically a component is named 
as "endTS-beginTS".

The problem is caused by merge operation. For example, in 
LSMBTree.getMergeFileReferences, firstComponent is actually newer than 
lastComponent, which breaks the assumption of time range.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to