[FLINK-39334] set bypassDocumentValidation only if true#63
Conversation
|
Thanks for opening this pull request! Please check out our contributing guidelines. (https://flink.apache.org/contributing/how-to-contribute.html) |
|
Hello @rmetzger thanks for running the workflow. I think the reason for the failure in According to MongoDB documentation the default commit interval is 100 ms. I saw in the logs that the time between the insert and the assertion failure was 10 ms in github CI. Locally where I could not reproduce the test faillure, 143 ms pass between the insert and the end of the test. To make the test more consistent, I changed it so it checks repeatedly with a timeout of 10 seconds. Can you please try running the workflow again? |
Setting bypassDocumentValidation is not allowed with unacknowledged write concern. Hence, this pull request changes the code so the option is only applied if bypassDocumentValidation is set to true by the client.