fvaleri opened a new pull request #3837: URL: https://github.com/apache/camel/pull/3837
Running JdbcAggregationRepository on a distributed environment (multiple independent threads or multiple JVMs) we have silently dropped exchanges. This PR aims at introducing a version identifier to avoid the lost update problem (overwrites when updating the aggregate row) as stated by the OptimisticLockingAggregationRepository SPI. Tested running 100 threads to aggregate 10k messages on MySQL 5.7 and PostgreSQL 11.5. Will also create a proper unit test from my testing application. After review we can also port this on master. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org