tools-db-4 is the current primary, and ran out of disk space in T409244: Toolforge outage: toolsdb out of space.
The file ibdata1 grew from 115G to 985G, we are still investigating what caused this increase. The replica host tools-db-6 is in sync and was not affected, ibdata1 on that host is still at 115G.
The plan is:
- create a new replica tools-db-7, from a snapshot of tools-db-6
- fail over the primary from tools-db-4 to tools-db-6
- investigate[0][1] what's in the big ibdata1 in tools-db-4
- destroy tools-db-4
- delete volume tools-db-4-data
- stop using Tofu to manage tools-db data volumes !102
[0] https://www.percona.com/blog/why-is-the-ibdata1-file-continuously-growing-in-mysql/
[1] https://www.percona.com/blog/deep-dive-mysqls-innochecksum-tool/
