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

Concurrent fetch&loads can lead to an unstable unresponsive cache #188

Open
diegosalvi opened this issue Jan 27, 2023 · 0 comments
Open

Comments

@diegosalvi
Copy link
Contributor

BUG REPORT

  • Please describe the issue you observed:
    In a production environment I had many cache client stuck in fetch or invalidate calls for the same key. Each client was "competing" for the same key locking the other ones.

  • What did you do?
    To resolve I just needed to stop cache requests on such stuck key. The concurrency problem resolved itself and restarting cache request on such key it didn't happen anymore

  • What did you expect to see?
    Concurrent fetch&invalidate from different clients shouldn't lock themselves.

  • What did you see instead?
    Cache clients were unresponsive on stuck key (waiting till timeout) and on cache server i found many
    broacast pending #17023914 invalidateKey stukkey from java@server1_13152799140601533 started at 2023-01-26 11:01:27.523, remaining [java@server2_13152759600094298, java@server3_13153278964203632

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

No branches or pull requests

1 participant