ReplicationStatusKey generates the key used to store status information for an ISGR replication. If replicationID is 40 characters or longer, an SHA-1 hash of the replicationID is used in the status key. If the replicationID is less than 40 characters, the ID can be used directly without worrying a
(replicationID string)
| 199 | // |
| 200 | // format: _sync:{m_$}:sgrStatus:[replicationID] |
| 201 | func (m *MetadataKeys) ReplicationStatusKey(replicationID string) string { |
| 202 | return m.sgrStatusPrefix + m.serializeIfLonger(replicationID) |
| 203 | } |
| 204 | |
| 205 | // HeartbeaterPrefix returns a document prefix to use for heartbeat documents |
| 206 | // |
no test coverage detected