Comments (4)
Node Healing Strategy
- a strategy to figure out when a node is down. the one we have now is not appropriate.
- an implementation of that strategy that doesn't require locks
- a strategy to handle all connections on that node if the node goes down. This can have locks, because it's rare.
- a strategy to re-add the node to the pool, without locks,when the node comes online.
- a strategy to know when a node is back online.
Problems
Nodes are not being killed off from on the fly connections. After a node is closed, a call should be made to DeactivateNode
- verify this for on the fly connections. So we need to know when to take a node out, but the "putting it back in" is what we need to fix.
@OJ has located these sections of the codebase and made them out to be significant:
https://github.com/DistributedNonsense/CorrugatedIron/blob/master/CorrugatedIron/Comms/LoadBalancing/RoundRobinStrategy.cs#L62
https://github.com/DistributedNonsense/CorrugatedIron/blob/master/CorrugatedIron/RiakCluster.cs#L158
https://github.com/DistributedNonsense/CorrugatedIron/blob/master/CorrugatedIron/RiakCluster.cs#L165
https://github.com/DistributedNonsense/CorrugatedIron/blob/master/CorrugatedIron/RiakCluster.cs#L146
from riak-dotnet-client.
I think the detection of exceptions causing sockets to close should be handled in RiakConnection. The idle timeout should be on RiakPbcSocket.
See:
https://github.com/taliesins/CorrugatedIron/blob/master/CorrugatedIron/Comms/RiakConnection.cs
https://github.com/taliesins/CorrugatedIron/blob/master/CorrugatedIron/Comms/RiakPbcSocket.cs
from riak-dotnet-client.
As with #153 and #116, please send a PR to make review easier.
from riak-dotnet-client.
I am afraid I have deviated tremendously from the original branch as I have made my version fully async and reactive. So its big changes.
So its going to be an act of cherry picking which bits you want.
I will manually port them over and send a pull request, as soon as I get a gap :>
from riak-dotnet-client.
Related Issues (20)
- Issue with health check / node selection HOT 2
- No results found yields IsSuccess == false HOT 1
- Compiling under Mono breaks stuff HOT 1
- Default value for deletedvclock
- RiakClient.Delete Bug HOT 5
- Riak TS support
- Nodes are not marked Offline for a failed GET request HOT 10
- Riak client does not support the use of a load balancer HOT 14
- The "externalLoadBalancer" doesn't take multiple-load balancer scenarios into account HOT 2
- RiakClient.Delete issue [JIRA: CLIENTS-898] HOT 3
- Don't lose original error when returning "ClusterOffline"
- Update riak_pb submodule when tagged
- Optional fields with default values in PB messages
- Upon save/update failure - no way to get Id
- Target .NET Standard
- Revamp publish process
- Riak TS - when rpberrorresp is returned, text is unavailable HOT 1
- Fluent connection configuration ? HOT 2
- System.configuration could not be resolved HOT 1
- Add warning and safety mechanism to prevent unintentional list [buckets | keys] operations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riak-dotnet-client.