You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
ansible 正常显示我已开启悲观锁:
实际数据库 tidb_config,显示我并没开:
tidb.toml 配置文件缺少 pessimistic-txn 选项:
解决:
修改 tidb.yml 配置:
pessimistic-txn:
更改为
pessimistic_txn:
配置 tidb.toml 生成模板:
roles/tidb/templates/tidb.toml.j2 文件最后加上
[pessimistic-txn]
{% for item, value in tidb_conf.pessimistic_txn | dictsort -%}
{{ item }} = {{ value | to_json }}
{% endfor %}
重新滚动集群即可生效~
The text was updated successfully, but these errors were encountered: