Conversation
|
Added tube_truncate method to clear tube |
b76a7dc to
aca1d1e
Compare
aca1d1e to
f0c4049
Compare
palage4a
left a comment
There was a problem hiding this comment.
Thank you.
Method truncate seems to me very 'infrastructure`-like, not for producation usage.
Can you provide some use cases into PR description?
Also, api methods should be tested. You can add an integration test in simple_test.lua.
f0c4049 to
98c0e09
Compare
2bc2bea to
35f44c6
Compare
|
@Luccuo rebase your branch on master for fixing CI/CD, please. |
35f44c6 to
5f5a1a6
Compare
There was a problem hiding this comment.
Tests failed: https://github.com/tarantool/sharded-queue/actions/runs/16074336667/job/45535555077?pr=78
Fix them, please.
There was a problem hiding this comment.
We also need to make sure that the metrics for the call are working.
Please, add a test for the truncate method:
https://github.com/tarantool/sharded-queue/blob/master/test/metrics_test.lua
|
@oleg-jukovec what metrics do you want to check? truncate metrics are checked in simple_test |
You checked the queue.statistics result, but not the |
5f5a1a6 to
33636a8
Compare
The tube_truncate method was created to clean tubes, as well as the truncate method on the router to call it
33636a8 to
415ebc5
Compare
oleg-jukovec
left a comment
There was a problem hiding this comment.
Thank you for the patch!
No description provided.