Dedeepya-T commented on a change in pull request #99:
URL: https://github.com/apache/qpid-broker-j/pull/99#discussion_r665985376
##########
File path:
bdbstore/src/main/java/org/apache/qpid/server/store/berkeleydb/replication/ReplicatedEnvironmentFacade.java
##########
@@ -346,19 +342,36 @@ public void commit(final Transaction tx, boolean
syncCommit)
}
- @Override
- public <X> ListenableFuture<X> commitAsync(final Transaction tx, final X
val)
+ public void commitInternal(final Transaction tx, final Durability
realMessageStoreDurability)
{
try
{
// Using commit() instead of commitNoSync() for the HA store to
allow
// the HA durability configuration to influence resulting
behaviour.
- tx.commit(_realMessageStoreDurability);
+ tx.commit(realMessageStoreDurability);
}
catch (DatabaseException de)
{
throw handleDatabaseException("Got DatabaseException on commit,
closing environment", de);
}
+ }
+
+ @Override
+ public void commitNoSync(final Transaction tx, boolean sync)
Review comment:
removed!
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]