Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Maintan schema versions reference count and remove unused from local database and memory #9134
base: main
Are you sure you want to change the base?
Maintan schema versions reference count and remove unused from local database and memory #9134
Changes from 21 commits
c361ddd
edc66e1
42fcd94
1d76717
ffc16cb
dc8a1ee
1e08bfb
81a5da5
890af11
5e35b86
59c183c
0591e59
2802c1b
dfeeebb
f1a7ac8
f2e6baf
4adeaf7
f2dda73
7d9b831
47efee4
2aeba59
cc92bb1
152e625
280cd3e
5d89aaf
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А когда VersionRemoveRef может позваться дважды для одной порции? Почему возникает необходимость проверять, что порция не посчитана ранее?
То же самое для VersionAddRef.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это уже происходит, выяснил экспериментально
В частности, при compaction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Для выборочной записи логов можно использовать AFL_DEBUG|TRACE|...
Как будто они решают ту же задачу -- зачем ещё один механизм?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я так и не понял как включить уровень Debug при локальном запуска
В финальной версии это можно будет удалить
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В начале теста можно вот так прописать уровень логирования для компонента: https://github.com/swalrus1/ydb/blob/test-tiering-permissions/ydb/core/tx/tiering/ut/ut_tiers.cpp#L576
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мне не в тесте нужно, а при локальном запуске ydbd