We have a staging instance of our web app that connects to DataStax Astra PAYG using NodeJS driver.
Sometimes when the app has been idle and is first accessed we get repeated instances of this error for around a minute, then the errors stop and normal function resumes. We have set consistency to cassandra.types.consistencies.localQuorum
Server timeout during read query at consistency LOCAL_QUORUM (1 replica(s) responded over 2 required)
I'd just like to understand if our Astra database may require time to warm up if it has been idle.
We occasionally during what I'll call warm up, we may also experience connection timeout issues:
"{\n labels: [ 'ERROR' ],\n message: '\"[SERVER][FATAL] Restarting due to: [x.x.x.x:9042] Request execution failed, took 7000 ms (request size 52 bytes): SELECT * FROM x WHERE name = ? [x@x.x]; error: OperationTimedOutError: The host 40.82.203.91:29042 did not reply before timeout 7000 ms
For clarity, under normal operation we not see these errors.
Can anyone comment?
Rod