-
Notifications
You must be signed in to change notification settings - Fork 140
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
Feat[MQB]: Do not record last confirm #442
Feat[MQB]: Do not record last confirm #442
Conversation
6d8e88a
to
dccafc0
Compare
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
1f0b061
to
14c461b
Compare
Co-authored-by: Evgeny Malygin <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
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.
Misc comments.
Let's also fix warnings in the new test file from CI check UT [C++]
https://productionresultssa13.blob.core.windows.net/actions-results/85f085aa-bee4-4859-9ef1-8c0188f9cca1/workflow-job-run-63f2f093-663a-5fa9-4a2e-8878fefbc7e7/logs/job/job-logs.txt?rsct=text%2Fplain&se=2024-10-09T14%3A33%3A14Z&sig=%2BhV9s4XueHcYfci70aJVwz63O7TxrThtpwct2kiMON4%3D&ske=2024-10-09T23%3A27%3A43Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2024-10-09T11%3A27%3A43Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2024-08-04&sp=r&spr=https&sr=b&st=2024-10-09T14%3A23%3A09Z&sv=2024-08-04
Search for mqbs_filebackedstorage.t
in UT build log.
Signed-off-by: Dmitrii Petukhov <[email protected]>
…h FileBackedStorage and InMemoryStorage Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
c3e9108
to
92d8f6c
Compare
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.
A few small comments and good to merge
…ucture in InMemoryStorage unit tests Signed-off-by: Dmitrii Petukhov <[email protected]>
Update comment on number of records Co-authored-by: Evgeny Malygin <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
Fix typo in comment Co-authored-by: Evgeny Malygin <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
…ucture Signed-off-by: Dmitrii Petukhov <[email protected]>
93bc887
to
ca16e5f
Compare
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
9b64aef
to
4cf7d27
Compare
Describe your changes
The goal of this optimization is to avoid storing the last Confirm record in the journal file, because the Delete record follows right after this Confirm record, thus the last Confirm record is redundant.
Also since we'll have to store one record less, I decreased from 3 to 2 the default static size of records array.
Previously there were no unit tests for FileBackedStorage. Added 22 unit tests for FileBackedStorage by analogy to InMemoryStorage, since both classes inherit from ReplicatedStorage and their usage scenarios are similar.
Testing performed
Additional context
Priority mode:
Fanout mode: