Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

docs(gh-ost integration): fix consistency (#1022)

p0nybda088346c24
diff --git a/docs/design/gh-ost-integration.md b/docs/design/gh-ost-integration.md
index a4f3d73793..5caa420703 100644
--- a/docs/design/gh-ost-integration.md
+++ b/docs/design/gh-ost-integration.md
@@ -385,13 +385,13 @@ type UpdateSchemaGhostContext struct {
// task related
const TaskDatabaseSchemaUpdateGhostSync TaskType = "bb.task.database.schema.update.ghost.sync"
-type TaskDatabaseSchemaUpdateGhostPayload struct {
+type TaskDatabaseSchemaUpdateGhostSyncPayload struct {
Statement string `json:"statement,omitempty"`
SchemaVersion string `json:"schemaVersion,omitempty"`
VCSPushEvent *vcs.PushEvent `json:"pushEvent,omitempty"`
// SocketFileName is the socket file that gh-ost listens on.
// The name follows this template,
- // `./tmp/gh-ost.{{DATABASE_NAME}}.{{TABLE_NAME}}.{{TIMESTAMP}}.sock`
+ // `./tmp/gh-ost.{{ISSUE_ID}}.{{TASK_ID}}.{{DATABASE_ID}}.{{DATABASE_NAME}}.{{TABLE_NAME}}.{{TIMESTAMP}}.sock`
SocketFileName string `json:"socketFileName,omitempty"`
// more to come
}