Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Cassandra 2.0.9
-
Normal
Description
Summary
The cluster has 3 nodes with Vnodes. We were adding a 4th one (in auto bootstrap mode). The 4 node has stream sessions, receiving data from the others.
While the streaming was going on (it takes quite a while because there are 200Gb of data of worth), an existing table is dropped in the cluster and a new one is created.
A few time after, we caught an NPE in the log file of the joining node (still not finished joining):
The NPE is located here: https://github.com/apache/cassandra/blob/cassandra-2.0/src/java/org/apache/cassandra/streaming/compress/CompressedStreamReader.java#L63
It can be a race condition where schema agreement has not reached the joining node.