session.commitTransaction should be a cold publisher

XMLWordPrintableJSON

    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Just creating the publisher via session.commitTransaction or session.abortTransaction does validation checks immediately on the current state of the transaction. This should be deferred until the publisher subscribed to.

      This would greatly simplify the use of transactions in the reactive streams api.

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            Nabil Hachicha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: