Skip to content

Commit

Permalink
fix: MirroringConnection in 2.x failed to compile (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalkiewicz authored Nov 9, 2021
1 parent 4977b40 commit f09cc3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class MirroringConnection implements Connection {
private final AtomicBoolean closed = new AtomicBoolean(false);
private final AtomicBoolean aborted = new AtomicBoolean(false);
protected final boolean performWritesConcurrently;
private final boolean waitForSecondaryWrites;
protected final boolean waitForSecondaryWrites;

/**
* The constructor called from {@link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public Table build() {
secondaryWriteErrorConsumer,
readSampler,
performWritesConcurrently,
waitForSecondaryWrites,
mirroringTracer);
referenceCounter.holdReferenceUntilClosing(table);
return table;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public MirroringTable(
SecondaryWriteErrorConsumer secondaryWriteErrorConsumer,
ReadSampler readSampler,
boolean performWritesConcurrently,
boolean waitForSecondaryWrites,
MirroringTracer mirroringTracer) {
super(
primaryTable,
Expand All @@ -48,6 +49,7 @@ public MirroringTable(
secondaryWriteErrorConsumer,
readSampler,
performWritesConcurrently,
waitForSecondaryWrites,
mirroringTracer);
}

Expand Down

0 comments on commit f09cc3a

Please sign in to comment.