Skip to content
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

Forwarding error may cause request not found in request processor pending queue #208

Conversation

JackyWoo
Copy link
Contributor

@JackyWoo JackyWoo commented Feb 29, 2024

Change log:

  • Add log, for forwarding error may cause request not found in request processor pending queue
2024.02.29 14:16:16.574302 [ 116 ] <Warning> RequestForwarder: Forward request ForwardType: User, session 0x4b8, xid 14265061 timeout
2024.02.29 14:16:16.574338 [ 116 ] <Warning> RequestProcessor: Found error request #0x4b8#14265061#Multi accepted:false error_code:-2
2024.02.29 14:16:16.574709 [ 59 ] <Warning> RequestProcessor: Not found error request #0x4b8#14265061#Multi accepted:false error_code:-2 in pending queue. Possible reason: 1.close requests from deadSessionCleanThread are not put into pending queue; 2.error occurs(forward or append entries) but request is still committed, 'processCommittedRequest' may delete request from pending request first, so here we can not find it. We also delete it from errors.

@JackyWoo JackyWoo added the enhancement Enhancements label Feb 29, 2024
@JackyWoo JackyWoo added this to the Release v2.0.4 milestone Feb 29, 2024
@JackyWoo JackyWoo merged commit a4e0589 into JDRaftKeeper:master Feb 29, 2024
5 of 6 checks passed
@nicelulu nicelulu added enhancement Enhancements and removed enhancement Enhancements labels Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants