fix: use cut-over-lock-timeout for instant DDL by artemvovk · Pull Request #1468 · github/gh-ost

A Pull Request should be associated with an Issue.

Related issue: #1386

Description

reusing the cut-over-lock-timeout from the cutover code. The lock wait timeout in the original code is actually set to double the setting, so we keep that consistent. Altho I do wonder why it's 2x.

there are no existing tests for the CutOverLockTimeoutSeconds currently, I can add some if that would help.

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.