Build: #2549 was successful Scheduled with changes by Mark Paluch and Christoph Strobl

Build result summary

Details

Completed
Duration
4 minutes
Labels
None
Revision
0b49f4723089973d0c9cdc60473f7d2ea60e4a2e 0b49f4723089973d0c9cdc60473f7d2ea60e4a2e
Total tests
3863

Tests

Sonar analysis results

ProjectQuality gate status
org.springframework.data:spring-data-mongodb-parent

Code commits

Author Commit Message Commit date
Christoph Strobl Christoph Strobl 0b49f4723089973d0c9cdc60473f7d2ea60e4a2e 0b49f4723089973d0c9cdc60473f7d2ea60e4a2e DATAMONGO-2265 - Polishing.
Fix count operation inside transaction and avoid superfluous client session instantiation.
Default MongoDatabase emission in case of non active transaction, update documentation, move test to another package.
Delay reactive collection re/creation in test to cope with issues in server version 4.1.10.

Original Pull Request: #745
Mark Paluch Mark Paluch 5c10a5821b4f25c81c2a4b220d60ddf1c2e4cd10 5c10a5821b4f25c81c2a4b220d60ddf1c2e4cd10 DATAMONGO-2265 - Add initial ReactiveMongoTransactionManager.
Support declarative reactive transaction via the Transactional annotation via a MongoDB specific ReactiveTransactionManager implementation.

@Bean
ReactiveMongoTransactionManager transactionManager(ReactiveDatabaseFactory factory) {
    return new ReactiveMongoTransactionManager(factory);
}

@Component
public class StateService {

    @Transactional
    Mono<UpdateResult> someBusinessFunction(Step step) {

        return template.insert(step)
                   .then(process(step))
                   .then(template.update(Step.class).apply(Update.set("state", …));
    };
});

Original Pull Request: #745

Jira issues

IssueDescriptionStatus
Unknown Issue TypeDATAMONGO-2265Could not obtain issue details from Jira