You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by arina-ielchiieva <gi...@git.apache.org> on 2018/02/27 22:35:35 UTC

[GitHub] drill pull request #755: DRILL-5270: Improve loading of profiles listing in ...

Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/755#discussion_r171084169
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/sys/store/LocalPersistentStore.java ---
    @@ -61,16 +63,29 @@
       private final AutoCloseableLock readLock = new AutoCloseableLock(readWriteLock.readLock());
       private final AutoCloseableLock writeLock = new AutoCloseableLock(readWriteLock.writeLock());
     
    +  //Provides a threshold above which we report the time to load
    +  private static final long LISTTIME_THRESHOLD_MSEC = 2000L;
    +
    +  private static final int DrillSysFileExtSize = DRILL_SYS_FILE_SUFFIX.length();
    --- End diff --
    
    `DrillSysFileExtSize` -> `drillSysFileExtSize`


---