public void replaceEarlyOpenedFiles ( Collection < SSTableReader > toReplace , Collection < SSTableReader > replaceWith ) { for ( SSTableReader s : toReplace ) assert s . openReason . equals ( SSTableReader . OpenReason . EARLY ) ; // note that we can replace an early opened file with a real one replaceReaders ( toReplace , replaceWith , false ) ; }
Adds the early opened files to the data tracker but does not tell compaction strategies about it