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

Avoid out-of-sync state by handling java.lang.Error #3132

Open
tishun opened this issue Jan 17, 2025 · 0 comments
Open

Avoid out-of-sync state by handling java.lang.Error #3132

tishun opened this issue Jan 17, 2025 · 0 comments
Labels
type: improvement An improvement to the existing implementation

Comments

@tishun
Copy link
Collaborator

tishun commented Jan 17, 2025

Improvement Request

There ara multitude of issues reported where the driver would report a variation of the following message:

java.lang.UnsupportedOperationException: io.lettuce.core.output.ValueOutput does not support set(long)

As a hypothesis we believe that some error, such as - but not necessarily - OutOfMemory, causes the event loop to become out of sync.

See #3117 (comment)

Related issues:

Describe the solution you'd like

A suggested solution is to catch such errors, terminate the connection and complete any remaining commands exceptionally.

Describe alternatives you've considered

N/A

@tishun tishun added type: improvement An improvement to the existing implementation for: team-attention An issue we need to discuss as a team to make progress labels Jan 17, 2025
@tishun tishun removed the for: team-attention An issue we need to discuss as a team to make progress label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement An improvement to the existing implementation
Projects
None yet
Development

No branches or pull requests

1 participant