-
Notifications
You must be signed in to change notification settings - Fork 638
improve failsafe on cuttting history #6918
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
Conversation
⚪
🟡
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪
🟡
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ ⚪
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ ⚪
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
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.
Не хватает теста на deny/allow списки -- на парсинг и поведение
ydb/core/mind/hive/hive_impl.h
Outdated
if (!denyList.empty()) { | ||
auto found = std::find(denyList.begin(), denyList.end(), type); | ||
allowed &= (found != denyList.end()); | ||
} | ||
const auto& allowList = CutHistoryAllowList; | ||
if (!allowList.empty()) { | ||
auto found = std::find(allowList.begin(), allowList.end(), type); | ||
allowed &= (found == allowList.end()); | ||
} |
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.
Здесь в (found != denyList.end())
и (found == allowList.end())
сравнения не надо ли поменять на противоположные?
Сейчас получается:
- разрешить, если есть в deny-list
- запретить, если нет в allow-list
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
тоже чуть-чуть обновил |
Changelog entry
...
Changelog category
Additional information
...