Comments (7)
Not trying to debate the test you ran or that you didn't see what you saw :)
But here is where Priam marks an instance in SimpleDB with the "-dead" suffix.
https://github.com/Netflix/Priam/blob/master/priam/src/main/java/com/netflix/priam/identity/InstanceIdentity.java#L119
from priam.
Looks like the issue is resolved, hence closing it.
from priam.
I think I should rephrase this. I figured Priam marks the node as Dead in Simple DB, but the problem is that it does not automatically remove the dead token from the ring. What happened is that I killed a node to see what happens. A new node came up by auto scaling group, Priam picked the dead node's token from Simple DB but couldn't gracefully start the cassandra service as cassandra complained the token still exist and must run decommission or removetoken. I had to manually run removetoken from a healthy node nad restart priam in the new node so that it joins the ring.
from priam.
Hi Arya,
I ran the test in following order:
-
Created a New 9 node cluster ( 3 Nodes in each zone)
-
Terminated one of the instances (out of 9 running instances)
a. Ran "ring" command -- which displays the Terminated node as Down -
ASG brought up another instance
a. After the node is up & running, again ran "ring" command -- which displayed the new node using the same
token as that of dead node.
Let me know if this works for you.
from priam.
Hopefully the above explanation has resolved the issue, hence closing it.
from priam.
Created #161 instead of commenting on closed ticket.
from priam.
Sagar, this is still an issue. I am thinking that Netflix tooling maybe hiding the nodetool removetoken step for you. I cannot find where this is done in Priam and as you see dehora found the same issue. The replacement mechanism is not by the docs and it has hit me in the past. Please take a look at #159. I think a replacement node, should never claim the same token.
from priam.
Related Issues (20)
- Build Failed
- Backup SSTables from attached EBS volumes
- Sample Issue: Checking slack integration.
- Priam should order stop and start HOT 2
- why to Install Cassandra and web container (such as tomcat) on EC2 instances for netflix-Priam setup? HOT 1
- Architecture diagram of Priam with Cassandra HOT 1
- Priam is not checking the C* process health.
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
- Double-Checked Locking HOT 1
- Unreleased Resource: Streams HOT 1
- Please open a security advisory
- IDEA Sync fail
- There is a vulnerability in Quartz Enterprise Job Scheduler 2.3.0 ,upgrade recommended
- There is a vulnerability in Apache Commons Configuration 2.4 ,upgrade recommended
- There is a vulnerability in Cassandra 2.1.17 ,upgrade recommended
- There is a vulnerability in SnakeYAML 1.23,upgrade recommended
- There is a vulnerability in Guava: Google Core Libraries for Java 21.0 ,upgrade recommended
- There is a vulnerability in Apache HttpComponents Client(aka Apache HttpClient) 4.5.6 ,upgrade recommended HOT 1
- Document to setup the same with Scylladb, as there are muliple param changes
- Multiple warnings while buliding Priam HOT 1
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 priam.