Expose a create_or_set method

Bug #620464 reported by Kapil Thangavelu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txzookeeper
Fix Released
Undecided
Kapil Thangavelu

Bug Description

Gustavo pointed out this would be useful in several places. The semantics need to be defined as its a non atomic operation, but it would ease usage a bit, instead of constantly having to do exists(), create or set.

Revision history for this message
Kapil Thangavelu (hazmat) wrote :

implemented as txzookeeper.utils.retry_change

Changed in txzookeeper:
status: New → Fix Released
assignee: nobody → Kapil Thangavelu (hazmat)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.