MonitorLockedTablesWorker to automatically lock tables
Database::MonitorLockedTablesWorker
monitor the legacy tables that need to be locked and logs them to ElasticSearch.
The goal of this issue is to also automatically lock the tables, if the worker detects some tables that are unlocked when they should be. This functionality should be controlled by an OPS
feature flag.
See the LockWritesManager
If any tables have been automatically locked, we should write to the logs as well. So that if any problems have happened, we have more information about what has happened.
Related: #396227 (closed)
Edited by Omar Qunsul