summaryrefslogtreecommitdiff
path: root/src/cluster.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-03-27 15:01:24 +0100
committerantirez <antirez@gmail.com>2014-03-27 15:01:24 +0100
commit8f52173b2cdf47b7ef5ceda831ff44bf481d2090 (patch)
treeaa2ff640dc7be006dd2510a300fd3a0899b3cfe9 /src/cluster.h
parent7fb14b73ba67c70eb6c8a728c892c8d5b3fe954e (diff)
downloadredis-8f52173b2cdf47b7ef5ceda831ff44bf481d2090.tar.gz
Cluster: last_vote_epoch -> lastVoteEpoch.
Use cammel case for epochs that are persisted on disk.
Diffstat (limited to 'src/cluster.h')
-rw-r--r--src/cluster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.h b/src/cluster.h
index 4fb1cfe8d..2d6960574 100644
--- a/src/cluster.h
+++ b/src/cluster.h
@@ -118,7 +118,7 @@ typedef struct clusterState {
int mf_can_start; /* If non-zero signal that the manual failover
can start requesting masters vote. */
/* The followign fields are uesd by masters to take state on elections. */
- uint64_t last_vote_epoch; /* Epoch of the last vote granted. */
+ uint64_t lastVoteEpoch; /* Epoch of the last vote granted. */
int todo_before_sleep; /* Things to do in clusterBeforeSleep(). */
long long stats_bus_messages_sent; /* Num of msg sent via cluster bus. */
long long stats_bus_messages_received; /* Num of msg rcvd via cluster bus.*/