Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

fix: fix "redlock may crash while some redis-server crash" #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yangluoshen
Copy link

  • In case of multi redis instance, dont catch some exceptions(for example(redis crash=> socket connection refused), ignore these exceptions and try other redis-server instance as soon as possible.
  • set command should not block, set a timeout for this try. If timeout, try other redis instance as soon as possible.

Change-Id: Ie36ac161e30e363ff517738ef26ab45e26712631

- remove some exceptions, ignore these exceptions and try other
  redis-server instance as soon as possible.
- set command should not block, set a timeout for this try. If timeout,
  try other redis instance as soon as possible.

Change-Id: Ie36ac161e30e363ff517738ef26ab45e26712631
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant