Skip to content

Commit

Permalink
lightning: raise field length of checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Mar 4, 2024
1 parent 6dd47fe commit 8bef01c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions br/pkg/lightning/checkpoints/checkpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const WholeTableEngineID = math.MaxInt32
// remember to increase the version number in case of incompatible change.
const (
CheckpointTableNameTask = "task_v2"
CheckpointTableNameTable = "table_v8"
CheckpointTableNameTable = "table_v9"
CheckpointTableNameEngine = "engine_v5"
CheckpointTableNameChunk = "chunk_v5"
)
Expand Down Expand Up @@ -107,7 +107,7 @@ const (
status tinyint unsigned DEFAULT 30,
alloc_base bigint NOT NULL DEFAULT 0,
table_id bigint NOT NULL DEFAULT 0,
table_info text NOT NULL,
table_info longtext NOT NULL,
create_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
update_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
kv_bytes bigint unsigned NOT NULL DEFAULT 0,
Expand Down

0 comments on commit 8bef01c

Please sign in to comment.