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

Refactor better extent info bookkeeping structure and handling #1622

Conversation

mariadb-SergeyZefirov
Copy link
Contributor

The code below makes, in my opinion, better structure for handling bookkeeping of extents and their ranges.

Right now the bookkeeping is for marking extents as invalid, nothing more.

@mariadb-SergeyZefirov mariadb-SergeyZefirov force-pushed the MCOL-2044-refactoring branch 2 times, most recently from cc9dbf7 to 3a0b974 Compare November 30, 2020 19:37
writeengine/wrapper/writeengine.h Outdated Show resolved Hide resolved
writeengine/server/we_dmlcommandproc.cpp Outdated Show resolved Hide resolved
writeengine/server/we_dmlcommandproc.cpp Outdated Show resolved Hide resolved
writeengine/server/we_dmlcommandproc.cpp Outdated Show resolved Hide resolved
writeengine/wrapper/writeengine.cpp Outdated Show resolved Hide resolved
writeengine/wrapper/writeengine.h Show resolved Hide resolved
writeengine/wrapper/writeengine.cpp Show resolved Hide resolved
writeengine/wrapper/writeengine.cpp Show resolved Hide resolved
writeengine/wrapper/writeengine.cpp Show resolved Hide resolved
writeengine/wrapper/writeengine.h Outdated Show resolved Hide resolved
Logs for research purposes

Keep progress - may not build

Good interface to collect LBIDs and CPInfo's

Write Engine compiles with new interface

New interface breaks things the least way and allows for new features to be added gradually.

Still ironing design - rewriting parts of WE

Keep progress commit

Write Engine compiles, going to test

I could introduce crashes there. Let's see.

Disable logging for tests

Fixing build problems - keep progress commit

Changed related to new interface

Add back accidentally removed m_txnLBIDMap.find

Remove printf/cout; up-to-date comment for AddLBIDtoList

Add "auto" type annotation

Work on PR comments

Descriptive vector emptines check
@drrtuy drrtuy dismissed tntnatbry’s stale review December 8, 2020 10:40

All suggestions were either implemented or rejected.

@drrtuy drrtuy merged commit 1be0f23 into mariadb-corporation:develop Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants