Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support keyspace #12

Merged
merged 1 commit into from
Aug 14, 2023
Merged

Conversation

JaySon-Huang
Copy link
Contributor

@JaySon-Huang JaySon-Huang commented Aug 8, 2023

tested:

>  ./releases/mok 78000DA274800000FF00000005E25F7280FF0000028BFD5BCB00FE
"78000DA274800000FF00000005E25F7280FF0000028BFD5BCB00FE"
└─## decode hex key
  └─"x\000\r\242t\200\000\000\377\000\000\000\005\342_r\200\377\000\000\002\213\375[\313\000\376"
    ├─## decode mvcc key
    │ └─"x\000\r\242t\200\000\000\000\000\000\005\342_r\200\000\000\002\213\375[\313"
    │   └─## decode keyspace
    │     ├─keyspace: 3490
    │     └─"t\200\000\000\000\000\000\005\342_r\200\000\000\002\213\375[\313"
    │       ├─## table prefix
    │       │ └─table: 1506
    │       └─## table row key
    │         ├─table: 1506
    │         └─row: 10938571723
    └─## decode keyspace
      ├─keyspace: 3490
      └─"t\200\000\000\377\000\000\000\005\342_r\200\377\000\000\002\213\375[\313\000\376"
        └─## table prefix
          └─table: 1095216660485

>  ./releases/mok 78000DA274800000FF00000005E25F7280FF0000028EC3DB6900FE
"78000DA274800000FF00000005E25F7280FF0000028EC3DB6900FE"
└─## decode hex key
  └─"x\000\r\242t\200\000\000\377\000\000\000\005\342_r\200\377\000\000\002\216\303\333i\000\376"
    ├─## decode mvcc key
    │ └─"x\000\r\242t\200\000\000\000\000\000\005\342_r\200\000\000\002\216\303\333i"
    │   └─## decode keyspace
    │     ├─keyspace: 3490
    │     └─"t\200\000\000\000\000\000\005\342_r\200\000\000\002\216\303\333i"
    │       ├─## table prefix
    │       │ └─table: 1506
    │       └─## table row key
    │         ├─table: 1506
    │         └─row: 10985134953
    └─## decode keyspace
      ├─keyspace: 3490
      └─"t\200\000\000\377\000\000\000\005\342_r\200\377\000\000\002\216\303\333i\000\376"
        └─## table prefix
          └─table: 1095216660485

Signed-off-by: JaySon-Huang <tshent@qq.com>
@JaySon-Huang JaySon-Huang changed the title Support keyspace [WIP]Support keyspace Aug 8, 2023
@JaySon-Huang JaySon-Huang changed the title [WIP]Support keyspace Support keyspace Aug 14, 2023
@JaySon-Huang
Copy link
Contributor Author

@disksing PTAL

@disksing
Copy link
Collaborator

thanks

@disksing disksing merged commit a5a1395 into oh-my-tidb:master Aug 14, 2023
@JaySon-Huang JaySon-Huang deleted the support_keyspace branch August 14, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants