Question d’entretien chez Weavr

what's the optimistic locking and how to implement it?