#乐观锁
共 2 篇文章
解决 Elasticsearch 报错 version_conflict_engine_exception 409 冲突
分析 Elasticsearch 高并发更新文档时报 409 Conflict version_conflict 根因,提供 retry_on_conflict 与 seq_no 乐观锁解决方案。
解决 PostgreSQL 报错 could not serialize access due to concurrent update
分析 PostgreSQL 在 Repeatable Read 或 Serializable 隔离级别下报 could not serialize access 根因,提供应用层重试与悲观锁方案。


