-
Notifications
You must be signed in to change notification settings - Fork 141
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[Storagetool]: List queue appid numrecords #534
Feat[Storagetool]: List queue appid numrecords #534
Conversation
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Aleksandr Ivanov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
608ae0c
to
185194d
Compare
src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.h
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Alexander Ivanov <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
Co-authored-by: Alexander Ivanov <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
Co-authored-by: Alexander Ivanov <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
1d1fc97
to
1ef7d9b
Compare
Signed-off-by: Dmitrii Petukhov <[email protected]>
9d70563
to
ff069a3
Compare
Signed-off-by: Dmitrii Petukhov <[email protected]>
5b31e2b
to
e28074b
Compare
Merged with upstream main. Ready for review. |
src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.t.cpp
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.t.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.t.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_parameters.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.h
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.h
Outdated
Show resolved
Hide resolved
src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.h
Outdated
Show resolved
Hide resolved
Co-authored-by: Evgeny Malygin <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
…ocessor.t.cpp Co-authored-by: Evgeny Malygin <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
fd309e9
to
79017f2
Compare
Co-authored-by: Evgeny Malygin <[email protected]> Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
Signed-off-by: Dmitrii Petukhov <[email protected]>
@678098 I addressed all the review feedback. Made necessary changes. |
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.
Looks good
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.
Sanitizer failures
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.
Let's check sanitizer now
I checked in a separate branch: https://github.com/bbpetukhov/blazingmq/actions/runs/12828238944/job/35771862423 |
NB: This PR depends on #531 and will be ready for review as soon as #531 is merged
Describe your changes
Added new functional to bmqstoragetool to list number of all types of records per queue.
Supported resolution of Queue Key and App Key.
Added extra cmd line arg
--min-records-per-queue <threshold>
to restrict displaying queues with low number of records (less than given threshold)Testing performed
Additional context
Usage example:
./bmqstoragetool.tsk --summary --min-records-per-queue 1012012 --journal-file file.bmq_journal --csl-file file.bmq_csl
Sample Output (section related to this PR):
Sample Output showcasing the resolution of Queue Key and App Key:
Run without CSL file:
Run with CSL file (i.e. --csl-file ./bmq_csl_20240930_090323_CF83E8E13A.bmq_csl):