Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public abstract class ReaderImpl extends GrpcStreamRetrier {

private static final int DEFAULT_DECOMPRESSION_THREAD_COUNT = 4;

private ReadSessionImpl session;
private volatile ReadSessionImpl session;
private final ReaderSettings settings;
private final TopicRpc topicRpc;
private final Executor decompressionExecutor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public abstract class WriterImpl extends GrpcStreamRetrier {
private static final Logger logger = LoggerFactory.getLogger(WriterImpl.class);

private WriteSessionImpl session;
private volatile WriteSessionImpl session;
private final WriterSettings settings;
private final TopicRpc topicRpc;
private final AtomicReference<CompletableFuture<InitResult>> initResultFutureRef = new AtomicReference<>(null);
Expand Down