Skip to content

Commit 36077f6

Browse files
committed
Make ReadCommand#indexSearcher volatile
1 parent b271894 commit 36077f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/org/apache/cassandra/db/ReadCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public abstract class ReadCommand extends AbstractReadQuery
113113
protected final Index.QueryPlan indexQueryPlan;
114114

115115
@Nullable
116-
protected Index.Searcher indexSearcher;
116+
private volatile Index.Searcher indexSearcher;
117117

118118
protected static abstract class SelectionDeserializer
119119
{

0 commit comments

Comments
 (0)