rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Enhancement] Message index update failed, but no error log

Open biningo opened this issue 1 year ago • 0 comments

Before Creating the Enhancement Request

  • [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

Message index update failed, but no error log. I would like to add the error log to to help locate the problem

Motivation

When deploying my MQ cluster, due to myself problems, commitlog path will change every time when MQ is restarted, so there will be inconsistency between indexFile and commitlog. After the inconsistency, I found that produce and consume can proceed normally, but new produce messages cannot update the index file. I could not find the build index error log . So I parsed the index file and found the problem after reading the source code. I would like to add the error log to to help locate the problem. image

Describe the Solution You'd Like

I'll add the error log.

Describe Alternatives You've Considered

.

Additional Context

No response

biningo avatar Apr 20 '24 10:04 biningo