2017-11-16 1 views
0

Ich habe 1 Redis-Replikation auf meinem System. Letztes Mal war die master_replid2 00000000000, aber nach einigen Tagen ist es jetzt c673350b6868f3661bd1231ad1b5389310d0a201. Ich weiß nicht warum und ich habe versucht, über Google aber keine weiteren Informationen darüber zu suchen. Kann mir bitte jemand sagen, was es bedeutet?Was bedeutet master_replid2 in Redis Replikation?

habe ich einen Blick auf dieser Seite, aber kein Glück: https://redis.io/commands/info

Bitte beraten.

Vielen Dank im Voraus.

Antwort

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. */ Fund in https://github.com/antirez/redis/blob/4aa2ecd98b5993fcd6967aa002f0f7d8a577735d/src/replication.c

+0

Vielen Dank für nützliche Informationen. Ich werde es jetzt genau ansehen. – Chu