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

NBSNEBIUS-36: fix endpoint storage reading #147

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Conversation

sanek325
Copy link
Collaborator

@sanek325 sanek325 commented Jan 15, 2024

мы для каждого ендпоинта создаем файл в который кладем запрос TStartEndpointRequest в бинарном виде.
При старте nbs мы вычитываем запросы из файлов. Проблема в том что при вычитывании мы делали Strip (видимо копипаста откуда-то), из-за этого если запрос в бинарном виде начинался или заканчивался с пробелов или переносов строк, то он не мог распарситься

sharpeye
sharpeye previously approved these changes Jan 15, 2024
Copy link
Contributor

github-actions bot commented Jan 15, 2024

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit bed7ab4.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
4661 4569 0 20 0 72

debnatkh
debnatkh previously approved these changes Jan 15, 2024
cloud/blockstore/libs/endpoints/service_endpoint_ut.cpp Outdated Show resolved Hide resolved
@sanek325 sanek325 merged commit 293cdec into main Jan 15, 2024
5 of 6 checks passed
@sanek325 sanek325 deleted the NBSNEBIUS-36-strip branch January 15, 2024 20:36
sanek325 added a commit that referenced this pull request Jan 15, 2024
Co-authored-by: Aleksandr Rigachnyi <[email protected]>
sanek325 added a commit that referenced this pull request Jan 15, 2024
Co-authored-by: Aleksandr Rigachnyi <[email protected]>
sanek325 added a commit that referenced this pull request Jan 16, 2024
* remove useless kms tests (#114)

Co-authored-by: Aleksandr Rigachnyi <[email protected]>

* NBSNEBIUS-36: use tmp file for endpoint storage (#133)

Co-authored-by: Aleksandr Rigachnyi <[email protected]>

* fix endpoint storage reading (#147)

Co-authored-by: Aleksandr Rigachnyi <[email protected]>

---------

Co-authored-by: Aleksandr Rigachnyi <[email protected]>
qkrorlqr pushed a commit that referenced this pull request Jan 17, 2024
Co-authored-by: Aleksandr Rigachnyi <[email protected]>
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.

4 participants