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

Add history dump for MVCC debugging #6226

Open
Egor2001 opened this issue Jul 19, 2021 · 0 comments
Open

Add history dump for MVCC debugging #6226

Egor2001 opened this issue Jul 19, 2021 · 0 comments
Labels
feature A new functionality
Milestone

Comments

@Egor2001
Copy link

Problem

MVCC engine has a complicated structure with multiple interconnections between stories, indices and additional objects such as gap items and point hole items. It is difficult to debug without knowing the internals of MVCC history for the buggy case.

Suggestion

To add debug interface for dumping history graph into .dot format for subsequent visualization.

@Egor2001 Egor2001 added feature A new functionality incoming labels Jul 19, 2021
Egor2001 pushed a commit that referenced this issue Jul 19, 2021
Now txm history of a space can be acquired directly from Lua.
Output format is .dot to make possible to
visualize graph of stories related to a space.

Needed for: #6226

@TarantoolBot document
Title: new procedure for mvcc debug

`space:dump_history(filename)` dumps history of a `space`
into the file named `filename` in a .dot format.
@kyukhin kyukhin added this to the 2.10.1 milestone Jul 19, 2021
@kyukhin kyukhin removed the incoming label Jul 29, 2021
@kyukhin kyukhin modified the milestones: 2.10.0-rc1, 2.10.1 Dec 30, 2021
@kyukhin kyukhin added the teamC label Jun 1, 2022
@kyukhin kyukhin modified the milestones: 2.10.0, wishlist Jun 1, 2022
@TarantoolBot TarantoolBot removed the teamC label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

3 participants