Skip to content

GMHDBJD/ONCALL-7023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ONCALL

This is a oncall tool.

Build

go build main.go

Dependency

tiup install ctl:v7.5.1

Step

get table id

select tidb_table_id from information_schema.tables where table_schema=<schema_name> and table_name=<table_name>;

get mvcc key

./main --table_id=<table_id> --binary_column=<binary_column_val> --int_column=<int_column_val>

check mvcc info

tiup ctl:nightly tikv --host 127.0.0.1:20160 mvcc -k <mvcc_key> --show-cf=lock,write,default

get timestamp

select TIDB_PARSE_TSO(<tso>);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages