[Question] Regarding influxdb cluster
- [0.9.3] Will it still be a case to always connect with master ?
- [0.9.2] I was encountering issue with cluster in term of availability. I added ~10 datapoint and immediate fetch did not retrieve anything. It took few seconds to make the data available. Any thoughts ?
- [0.9.3] If any of the node is down, will influx service be still available ?
- [0.9.3] If any of the node is down, then I have to programmatically handle retry with other node ?
- [0.9.3] Will there be write timeout exception, if payload is ~50mb ?
@phagunbaya
- I'm not sure I understand what you are asking.
- As I understand it, data isn't available for querying until its been fully replicated in 0.9.2, but I could be wrong.
- If a node goes down influx will be available. It just won't be possible to issue queries or writes to that node.
- Yes.
- Write timeouts are configurable.
Q2: may or may not be queryable before it has been fully replicated. It depends if the node servicing the query has received the data yet.
@mjdesa :
- With Q1 I meant, with 0.9.3 will I be able to connect with any of the node in the cluster even if it's not the master ?
- Q3 : Will data get replicated automatically if node comes back ?
- Q5 : Using this
write-timeout=20sright ?
@otoolep : What I encountered was, when writing and reading back from same node in the cluster required me to put some time delay.
Also till what version it will be the case to have cluster of 3 nodes always ?
@phagunbaya
- Q1. In 0. 9.3 you can connect to any node in the cluster. Currently there's a bug, noted in https://github.com/influxdb/influxdb/issues/3574 which prevents queries to non-raft nodes in the cluster.
- Q3. To my knowledge, no, old data will not get replicated, but new data will be.
- Q5. Yes.
0.9.3 allows for arbitrarily sized cluster. The first 3 nodes to join a cluster are the raft peers the rest are data nodes.
@phagunbaya please address questions to the mailing list, as GitHub Issues should be for feature requests and bug reports. If you read the blog and follow the CHANGELOG updates you will have a reasonable idea what's happening with new releases.