[ https://issues.apache.org/jira/browse/DRILL-6053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398471#comment-16398471 ]
ASF GitHub Bot commented on DRILL-6053: --------------------------------------- Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/1163#discussion_r174433648 --- Diff: common/src/main/java/org/apache/drill/common/AutoCloseables.java --- @@ -25,6 +25,11 @@ */ public class AutoCloseables { + public interface Closeable extends AutoCloseable { --- End diff -- Not sure about benefit of this change... Could you please explain. > Avoid excessive locking in LocalPersistentStore > ----------------------------------------------- > > Key: DRILL-6053 > URL: https://issues.apache.org/jira/browse/DRILL-6053 > Project: Apache Drill > Issue Type: Improvement > Reporter: Vlad Rozov > Assignee: Vlad Rozov > Priority: Major > Fix For: 1.14.0 > > > When query profiles are written to LocalPersistentStore, the write is > unnecessary serialized due to read/write lock that was introduced for > versioned PersistentStore. Only versioned access needs to be protected by > read/write lock. -- This message was sent by Atlassian JIRA (v7.6.3#76005)