sk0x50 commented on code in PR #2720:
URL: https://github.com/apache/ignite-3/pull/2720#discussion_r1415742005
##########
modules/table/src/main/java/org/apache/ignite/internal/table/RecordBinaryViewImpl.java:
##########
@@ -430,7 +431,16 @@ public CompletableFuture<Void> streamData(Publisher<Tuple>
publisher, @Nullable
var partitioner = new
TupleStreamerPartitionAwarenessProvider(rowConverter.registry(),
tbl.partitions());
StreamerBatchSender<Tuple, Integer> batchSender = (partitionId, items)
-> withSchemaSync(null, (schemaVersion) -> {
- return this.tbl.upsertAll(mapToBinary(items, schemaVersion,
false), partitionId);
+ return this.tbl.upsertAll(mapToBinary(items, schemaVersion,
false), partitionId).thenAccept(new Consumer<Void>() {
+ @Override
+ public void accept(Void unused) {
+ try {
+ Thread.sleep(500);
Review Comment:
What is the purpose of this `sleep` here? Looks like a debugging code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]