# Optimistic Concurrency with ETag

say it: **“op-tih-MIS-tik kun-KUR-un-see with EE-tag”** **/ˌɑptəˈmɪstɪk kənˈkɝənsi wɪð ˈiˌtæɡ/**

Using the item's ETag so a write fails if someone else changed it.

## What is **Optimistic Concurrency with ETag**?

Every item has an **ETag**. Replace with `IfMatchEtag` and the write fails if someone changed the item since you read it.

Level: Freelancer · [More Cosmos DB terms at this level](https://www.ask-codey.com/glossary?category=cosmos-db&level=4)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/optimistic-concurrency-with-etag
