You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/09/19 19:18:25 UTC
[GitHub] [incubator-kyuubi] pan3793 commented on a diff in pull request #3511: [KYUUBI #3510] Reading an uninitialized log should return empty rowSet
pan3793 commented on code in PR #3511:
URL: https://github.com/apache/incubator-kyuubi/pull/3511#discussion_r974591126
##########
kyuubi-common/src/main/scala/org/apache/kyuubi/operation/log/OperationLog.scala:
##########
@@ -87,6 +88,8 @@ class OperationLog(path: Path) {
private lazy val writer = Files.newBufferedWriter(path, StandardCharsets.UTF_8)
private lazy val reader = Files.newBufferedReader(path, StandardCharsets.UTF_8)
+ private var initialized: Boolean = false
Review Comment:
`@volatile`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org