2017-11-16 7 views
0

システムにRedisレプリケーションが1つあります。前回master_replid2が00000000000でしたが、数日後にはc673350b6868f3661bd1231ad1b5389310d0a201になりました。私はなぜ、私はGoogleを介して検索しようとしているが、それについての情報はありません。誰かが私にそれが意味することを教えてもらえますか?Redis複製のmaster_replid2は何を意味しますか?

私はこのサイトを見てみたが運を与えた:https://redis.io/commands/info

お知らせください。

ありがとうございます。

答えて

0

Note that there are two potentially valid replication IDs: the ID1 * and the ID2. The ID2 however is only valid up to a specific offset. */ /* Use the current replication ID/offset as secondary replication * ID, and change the current one in order to start a new history. * This should be used when an instance is switched from slave to master * so that it can serve PSYNC requests performed using the master * replication ID. */ https://github.com/antirez/redis/blob/4aa2ecd98b5993fcd6967aa002f0f7d8a577735d/src/replication.c

+0

に見つけるには、有用な情報のためにありがとうございました。私はそれを今見てみましょう。 – Chu