Skip to content

YMQ Error handling mechanism integration#167

Merged
sharpener6 merged 12 commits intofinos:mainfrom
gxuu:ymq_err_hand
Jul 29, 2025
Merged

YMQ Error handling mechanism integration#167
sharpener6 merged 12 commits intofinos:mainfrom
gxuu:ymq_err_hand

Conversation

@gxuu
Copy link
Contributor

@gxuu gxuu commented Jul 23, 2025

READY FOR REVIEW

Because #149 was merged, I assume the current implementation of error.h reaches consensus. Hence, I start to integrate it into YMQ.

gxuu added 6 commits July 24, 2025 02:40
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
gxuu added 5 commits July 25, 2025 07:03
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
Signed-off-by: gxu <georgexu420@163.com>
@sharpener6 sharpener6 enabled auto-merge (squash) July 28, 2025 20:23
@sharpener6 sharpener6 merged commit c213dc2 into finos:main Jul 29, 2025
5 checks passed
rafa-be pushed a commit to rafa-be/scaler that referenced this pull request Jul 30, 2025
* Handle error of epoll_wait with unrecoverableError

Signed-off-by: gxu <georgexu420@163.com>

* Handle error of epoll_ctl with unrecoverableError

Signed-off-by: gxu <georgexu420@163.com>

* Remove unneeded comments

Signed-off-by: gxu <georgexu420@163.com>

* Change timestamp error handling to use assert

Signed-off-by: gxu <georgexu420@163.com>

* Add logging for tcp_server.h

Signed-off-by: gxu <georgexu420@163.com>

* Handle error for timed_queue.h with unrecoverableError

Signed-off-by: gxu <georgexu420@163.com>

* Handle error of Interruptive Concurrent Queue with unrecoverableError

Signed-off-by: gxu <georgexu420@163.com>

* Handle error of TcpClient with unrecoverableError

Signed-off-by: gxu <georgexu420@163.com>

* Handle error of timed_queue with unrecoverableError

Signed-off-by: gxu <georgexu420@163.com>

* Handle user's logic error with unrecoverableError

Signed-off-by: gxu <georgexu420@163.com>

* Change callback types to use std::expected

Signed-off-by: gxu <georgexu420@163.com>

---------

Signed-off-by: gxu <georgexu420@163.com>
Co-authored-by: sharpener6 <1sc2l4qi@duck.com>
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