Skip to content

Commit

Permalink
make loadedState volatile
Browse files Browse the repository at this point in the history
  • Loading branch information
scottsand-db committed Sep 4, 2024
1 parent 117249b commit 60397f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private[internal] class SnapshotImpl(

import SnapshotImpl._

private var loadedState = false
@volatile private var loadedState = false

private val memoryOptimizedLogReplay =
new MemoryOptimizedLogReplay(files, deltaLog.store, hadoopConf, deltaLog.timezone)
Expand Down

0 comments on commit 60397f4

Please sign in to comment.