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

One pool per node test #24

Draft
wants to merge 23 commits into
base: cluster
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
10e07f3
Merge pull request #4 from juspay/cluster
aravindgopall Feb 7, 2023
910977c
Added retry logic for refreshShardMap
Mar 24, 2023
638e652
MissingNodeException bugfix
viv3kshukla-juspay Mar 27, 2023
3f49188
Merge pull request #21 from gupta-ujjwal/feature/NodeRetryLogicForRef…
aravindgopall Mar 27, 2023
a21fa1b
Merge pull request #22 from imviv3kshukla/fix/MissingNodeException
aravindgopall Mar 27, 2023
974d85e
throwing TimeoutException for timeouts
Apr 7, 2023
fc3b373
randomly choosing node for refreshShardMap
Apr 7, 2023
b7aea75
using fromException instead of displayException
Apr 7, 2023
22d8146
Merge pull request #23 from Candyman770/fix/timeoutException
aravindgopall Apr 10, 2023
039a83d
changing NodeConnection to Pool of NodeConnection and taking Cluster …
shashitnak Mar 17, 2023
bc79b73
moving withResource call to the beginning of requestNode
shashitnak Apr 10, 2023
8545c0e
moving NodeConnection HashMap in MVar and adding refreshCluster function
shashitnak Apr 12, 2023
0ee0bf0
refreshShardMap is now updating both MVar's and removing refreshCluster
shashitnak Apr 12, 2023
47613cf
dropping a NodeConnection from HashMap if it throws an exception in c…
shashitnak Apr 13, 2023
4362e64
only adding new nodes to hashmap and not changing the old ones
shashitnak Apr 13, 2023
4fd99de
saving a timestamp for last ShardMap refresh Time and creating entire…
shashitnak Apr 26, 2023
e22fbee
moving back to MVar's and fixing deadlock
shashitnak May 5, 2023
883936f
moving Pipeline from Connection object to ClusterEnv
shashitnak Jun 5, 2023
7427b2f
moving IORef inside Pool
shashitnak Jun 5, 2023
1230e4c
changing NodeResource from data to newtype
shashitnak Jun 5, 2023
8f27a40
addressing pr comments
shashitnak Jun 20, 2023
5e9065c
fixing redudant import error due to previous change
shashitnak Jun 20, 2023
7eed199
removing clusterConnect function
shashitnak Jun 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hedis.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ library
HTTP,
errors,
network-uri,
unliftio-core
unliftio-core,
random
if !impl(ghc >= 8.0)
build-depends:
semigroups >= 0.11 && < 0.19
Expand Down
Loading