feat: refs #7144 DiagnoseProducionFailure second commit
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
0cdfbcb7ee
commit
c7258476d6
|
@ -0,0 +1,21 @@
|
||||||
|
CREATE TABLE `vn`.`diagnoseProductionFailureQueue` (
|
||||||
|
`schema` varchar(64) NOT NULL,
|
||||||
|
`procedure` varchar(64) NOT NULL,
|
||||||
|
`params` varchar(255) DEFAULT NULL,
|
||||||
|
`order` int(11) DEFAULT NULL,
|
||||||
|
`message` text NOT NULL,
|
||||||
|
`resolution` text DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`schema`,`procedure`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|
||||||
|
|
||||||
|
CREATE TABLE `diagnoseProductionFailureConfig` (
|
||||||
|
`id` int(11) NOT NULL,
|
||||||
|
`dbFreezeMaxThreads` int(11) NOT NULL,
|
||||||
|
`dbFreezeMaxTime` int(11) NOT NULL,
|
||||||
|
`dbGetLockMaxTime` int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
CONSTRAINT `diagnoseProductionFailureConfig_check` CHECK (`id` = 1)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|
||||||
|
|
||||||
|
INSERT IGNORE INTO vn.diagnoseProductionFailureConfig (id,dbFreezeMaxThreads,dbFreezeMaxTime,dbGetLockMaxTime)
|
||||||
|
VALUES (1, 5, 60, 30);
|
Loading…
Reference in New Issue