Skip to content

Commit 8da178b

Browse files
committed
Table status cache race condition fixed.
1 parent 7c60708 commit 8da178b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dqops/src/main/java/com/dqops/data/checkresults/statuscache/TableStatusCacheImpl.java

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ public TableStatusCacheImpl(DqoCacheConfigurationProperties dqoCacheConfiguratio
8787
this.userDomainIdentityFactory = userDomainIdentityFactory;
8888
this.emitFailureHandlerPublisher = Sinks.EmitFailureHandler.busyLooping(Duration.ofSeconds(
8989
this.dqoQueueConfigurationProperties.getPublishBusyLoopingDurationSeconds()));
90+
this.queueEmptyFuture = new CompletableFuture<>();
91+
this.queueEmptyFuture.complete(0);
9092
}
9193

9294
/**

0 commit comments

Comments
 (0)