In this version, we're turning transaction on by default. If you're more concerned with database write and read performance compared to data consistency and correctness, you can move back to the old behavior by setting this flag in the HOCON configuration:
akka.persistence.journal.mongodb.use-write-transaction = off
akka.persistence.snapshot-store.mongodb.use-write-transaction = off
Or by setting them inside the hosting options:
var journalOptions = new MongoDbJournalOptions(true)
{
UseWriteTransaction = false
};
var snapshotOptions = new MongoDbSnapshotOptions(true)
{
UseWriteTransaction = false
};
WARNING:
need #355 to be merged in first
1.5.0.2 September 18 2023
Breaking Behavior Change
In this version, we're turning transaction on by default. If you're more concerned with database write and read performance compared to data consistency and correctness, you can move back to the old behavior by setting this flag in the HOCON configuration:
Or by setting them inside the hosting options: