Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Untriaged
-
1
-
No
Description
In a CBSE, the log shows:
2020-09-15T18:41:17.498-07:00 INFO GOXDCR.AdminPort: Done with doChangeReplicationSettingsRequest
|
2020-09-15T18:41:17.498-07:00 INFO GOXDCR.ReplMgr: Start constructUpdateDefaultReplicationSettingsEvent....
|
This is because XDCR is raising a updateDefaultReplication audit event for a regular replication update event.
func writeUpdateReplicationSettingsEvent(spec *metadata.ReplicationSpecification, changedSettingsMap *metadata.ReplicationSettingsMap, realUserId *service_def.RealUserId, localRemoteIPs *service_def.LocalRemoteIPs) {
|
replicationSpecificFields, err := constructReplicationSpecificFieldsFromSpec(spec)
|
if err == nil {
|
var updateDefaultReplicationSettingsEvent *service_def.UpdateDefaultReplicationSettingsEvent
|
updateDefaultReplicationSettingsEvent, err = constructUpdateDefaultReplicationSettingsEvent(changedSettingsMap, realUserId, localRemoteIPs)
|
if err == nil {
|
updateReplicationSettingsEvent := &service_def.UpdateReplicationSettingsEvent{
|
ReplicationSpecificFields: *replicationSpecificFields,
|
Attachments
Issue Links
- is a backport of
-
MB-41694 XDCR is logging incorrect audit log msg
- Closed