We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f51ccd commit 320d9dcCopy full SHA for 320d9dc
client/src/main/kotlin/io/hstream/impl/BufferedProducerKtImpl.kt
@@ -109,9 +109,10 @@ class BufferedProducerKtImpl(
109
shardAppendBytesSize.remove(shardId)
110
timerServices[shardId]?.cancel(true)
111
timerServices.remove(shardId)
112
- val job = shardAppendJobs[shardId]
+ var job = shardAppendJobs[shardId]
113
shardAppendJobs[shardId] = batchScope.launch {
114
job?.join()
115
+ job = null
116
writeShard(shardId, records, futures)
117
logger.info("wrote batch for shard:$shardId")
118
flowController?.release(recordsBytesSize)
0 commit comments