You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/01/20 08:51:14 UTC
[GitHub] [pulsar] lhotari commented on issue #19297: Flaky-test: ReplicatorTest.testDoNotReplicateSystemTopic
lhotari commented on issue #19297:
URL: https://github.com/apache/pulsar/issues/19297#issuecomment-1398082751
There's also #12774, but the problem seems to be different.
In this case, it looks like there's a race condition in the test itself.
https://github.com/apache/pulsar/blob/3ba6fa8f2f31e7805aad5cb03252ad5c519c10c2/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java#L1493-L1501
@nicoloboschi can you check this since you added `consumerFromR2` in #18896?
It seems that the problem is that `consumerFromR2` will auto-create the topic in r2 and there's a possibility that r2 creates the topic in r1 when replication starts? That's why the line 1499 could fail with ConflictException?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org