Consistency problem in daos


@stephen.tao
 

1. Will abort be triggered if a transaction fails in the commit phase in Daos? (I read the code myself and found that this happens when the submission fails. At this time, some nodes may submit successfully)
2. If abort is triggered, what is the meaning? Will strong consistency be lost?


Johann
 

Hi there,

 

If abort is called either by the application directly (daos_tx_abort()) or by DAOS internally (something went wrong during commit), then all changes associated with the transaction are discarded and consistency is preserved. None of the uncommitted modifications are visible to external readers.

 

Cheers,

Johann

 

From: <daos@daos.groups.io> on behalf of "stephen.tao@..." <stephen.tao@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Saturday 29 January 2022 at 10:47
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] Consistency problem in daos

 

1. Will abort be triggered if a transaction fails in the commit phase in Daos? (I read the code myself and found that this happens when the submission fails. At this time, some nodes may submit successfully)
2. If abort is triggered, what is the meaning? Will strong consistency be lost?

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


@stephen.tao
 

Are there two situations when trying abort after submission failure:
1. The peer1 node submitted successfully, but did not receive the abort request due to network reasons (Should it go back even if it receive abort request? )
2. The peer2 submission failed and received an abort request, so abort was completed
Is there any inconsistency at this time? 

Thansks for your reponding, best regards!