Elasticsearch and elastic sync notifier failover (WIP) #95
No reviewers
Labels
No labels
area: database
area: documentation
area: elasticsearch
area: herald
area: packaging
area: scribe
consider soon
critical
dependencies
good first issue
hacktoberfest
help wanted
improvement
needs: repro
new feature
priority: blocker
priority: high
priority: low
priority: medium
type: bug
type: bug-fix
type: discussion
type: feature request
type: improvement
type: new feature
type: refactor
type: task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/hub#95
Loading…
Reference in a new issue
No description provided.
Delete branch "es-failover"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -2,2 +2,4 @@
from collections import deque
from hub.env import Env
ELASTIC_SERVICES_REGEX = re.compile("(([\d|\.]|[^,:\/])*:\d*\/([\d|\.]|[^,:\/])*:\d*,?)*")
Inefficient regular expression
This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '.'.
Show more details
Inefficient regular expression
This part of the regular expression may cause exponential backtracking on strings starting with ':/' and containing many repetitions of '.'.
Show more details
This pattern won't work for the latest Python versions. CancelledError is derived from BaseException.
... a minor thing given the only thing done in the else branch is logging ("stopping the notifier...").
This is included in https://github.com/lbryio/hub/pull/109
Pull request closed