Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
052fa0fae6
|
|
@ -112,6 +112,9 @@ public class PersistenceThread extends Thread {
|
||||||
NameFileComparator sizeComparator = new NameFileComparator();
|
NameFileComparator sizeComparator = new NameFileComparator();
|
||||||
File[] dataFileList = sizeComparator.sort(parentDir.listFiles());
|
File[] dataFileList = sizeComparator.sort(parentDir.listFiles());
|
||||||
for (File file : dataFileList) {
|
for (File file : dataFileList) {
|
||||||
|
if(file.getName().startsWith(".")){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (MemoryRegister.instance().isRegister(file.getName())) {
|
if (MemoryRegister.instance().isRegister(file.getName())) {
|
||||||
if (logger.isDebugEnabled())
|
if (logger.isDebugEnabled())
|
||||||
logger.debug("The file [{}] is being used by another thread ", file);
|
logger.debug("The file [{}] is being used by another thread ", file);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue