Release or withdraw a blocked write

Send a blocked or dead write again, or take it out unsent, without losing the person's edit.

A blocked write waits for something outside the queue, which its reason names. A dead one failed five times. Each stays until you release or withdraw it.

  • marfa device release <id> puts it back for the next marfa device drain, and --reason <reason> alone releases every write blocked for one reason. With an ID, marfa device release <id> --reason <reason> releases that write only while it is blocked for that reason, and otherwise says nothing released for <id> with reason <reason>. Use it to retry only the case you have handled. A conflict_unresolved write meets the same refusal again, and so does an ancestor_unavailable one unless the credential now reads its snapshot. A key_spent write goes under a fresh key, so the instance runs it a second time.
  • marfa device withdraw <id> takes it out unsent and puts the item back as the instance holds it, which it reads first, so it needs the server. Note the edit first. Withdraw a key_spent write whose text the app has already given back to the person.

A withdraw settles the writes behind it. A write that waits for it in depends_on is refused unsent, as the <kind> it waits for was withdrawn: discard it. A write that only follows it goes as it stands. If the read finds a withdrawn create landed, the writes waiting for it go to that item, each edit on version 1, so a change made elsewhere meets it as a conflict.

The copy shows a blocked or dead write's edit until a later write from the copy sets the same field, tag or state and is answered accepted: from then on it shows the later value. A release shows its whole edit again and sends its whole body.