Re: [PATCH 0/6] refs: introduce support for partial reference transactions
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Feb 12, 2025, 12:36 UTC
- Message-ID
- <CAOLa=ZREofXJnyFEzQLoAKk-A1_==wqBy3YyCCgLeXT8qhdGHg@mail.gmail.com>
- In-Reply-To
- <786eef7b-94e5-4f92-a82c-aeea69b5c103@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
Show 11 quoted lines
> On 11/02/2025 17:03, Phillip Wood wrote: >> On 07/02/2025 07:34, Karthik Nayak wrote: > > >>> This series introduces support for partial reference transactions, >>> allowing individual reference updates to fail while letting others >>> proceed. > > Thinking about this some more it is possible to skip the checking the > current value of the ref so what is making the transaction fail? Is it > D/F conflicts or something else? >
It could be a multitude of issues, to name a some: - D/F conflicts - Unexpected old oid/target - dangling symrefs
So this gives a hatch to partially commit parts of a transaction while also notifying the user about parts which failed.
> Best Wishes > > Phillip