Comments (2)
The issue appears to have been triggered by the activation of the sentinel.tilt mode, which subsequently led to a failure to perform failover correctly. When Sentinel is unable to complete certain critical tasks within a specified time frame, it enters tilt mode. These critical tasks include communication with other Sentinel nodes, checking the status of the primary and replica nodes, etc. From the logs, it seems that the node was oscillating between (subjective down) and (objective down).
from redis.
code :
void sentinelCheckTiltCondition(void) {
/* Check if we need to enter the TILT mode. */
if (!sentinel.tilt) {
if (mstime() - sentinel.tilt_start_time >= SENTINEL_TILT_PERIOD) {
sentinelEvent(LL_WARNING,"-tilt",NULL,"#tilt mode exited");
sentinel.tilt = 0;
}
}
/* Check if we need to exit the TILT mode. */
if (sentinel.tilt) {
if (mstime() - sentinel.tilt_start_time < SENTINEL_TILT_TRIGGER) {
sentinelEvent(LL_WARNING,"+tilt",NULL,"#tilt mode entered");
sentinel.tilt = 1;
sentinel.tilt_start_time = mstime();
}
}
}
from redis.
Related Issues (20)
- [QUESTION] make test spend long time, 13000+ seconds HOT 5
- [CRASH] <short description> HOT 1
- [QUESTION] License type for already submited PR HOT 2
- Switch License to Apache-2.0 (redis redied) HOT 5
- [QUESTION] redis threaded io polling mode
- [QUESTION] Redis primary node becomes a replica automatically after all slots have been migrated HOT 1
- [BUG]If "appendonly yes" in the cluster, the full sync occurs after the replica reboot
- [QUESTION] After Redis 7.0, is it possible to only use AOF persistence? HOT 1
- [BUG] After creating index Redis Stack 7.2.3 crashed HOT 2
- [BUG] Usability regression due to commit 0b34396 HOT 2
- [QUESTION] There may be sth wrong in func raxRemove when oom occurs HOT 5
- Redis is so trash lmfao [BUG]
- [BUG] Potential Memory leak? HOT 2
- [NEW] AOF persistence HOT 7
- [QUESTION] Issue with sentinel user ACL HOT 1
- [BUG]
- [CRASH] <short description>
- [BUG]Redis Fail to Start HOT 4
- sscan count does not work correctly HOT 4
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 redis.