What is a DDL Lease?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 什么是DDL租约?

| username: ddhe9527

There is a configuration called lease on the TiDB instance. What is a DDL lease?

`lease`
DDL lease timeout.
Default value: 45s
Unit: seconds
| username: HACK | Original post link

Is it the retention time of the owner role of the TiDB server responsible for executing DDL jobs?

| username: ddhe9527 | Original post link

Push it up

| username: ShawnYan | Original post link

You can refer to this article:

| username: ddhe9527 | Original post link

Okay, thank you.

| username: xiaohetao | Original post link

What I understand is: the time period from when the owner starts executing DDL to when the DDL status is modified.
You can refer to: TiDB 集群管理常见问题 | PingCAP 文档中心

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.