Pacco.Services.Availability icon indicating copy to clipboard operation
Pacco.Services.Availability copied to clipboard

ResourcesMongoRepository : Reject concurrent update request of a document

Open tchelidze opened this issue 4 years ago • 0 comments

When 2 concurrent client tries retrieves the same version of Resource and then tries to update, client is not notified that it's write request was rejected, instead https://github.com/devmentors/Pacco.Services.Availability/blob/master/src/Pacco.Services.Availability.Infrastructure/Mongo/Repositories/ResourcesMongoRepository.cs#L31 fails silently.

tchelidze avatar Oct 14 '20 07:10 tchelidze