// Token: 0x06001AD0 RID: 6864 RVA: 0x00073708 File Offset: 0x00071908 private ISetActiveSeeding GetActiveSeederStatusCallback() { if (TestSupport.IsZerobox()) { return(null); } IReplicaInstanceManager replicaInstanceManager = Dependencies.ReplayCoreManager.ReplicaInstanceManager; ISetActiveSeeding activeSeederStatusCallback = replicaInstanceManager.GetActiveSeederStatusCallback(this.DatabaseGuid); if (activeSeederStatusCallback == null) { this.TraceError("GetActiveSeederStatusCallback(): The valid RI is not running. The RI might be present after a retry.", new object[0]); throw new SeedingSourceReplicaInstanceNotFoundException(this.DatabaseGuid, Environment.MachineName); } return(activeSeederStatusCallback); }
// Token: 0x06001ACE RID: 6862 RVA: 0x00073608 File Offset: 0x00071808 public void LinkWithNewActiveRIStatus(ISetActiveSeeding riStatus) { lock (this.m_lock) { if (this.IsSeeding()) { if (this.m_setPassiveSeedingCallback != null) { this.m_setPassiveSeedingCallback.EndPassiveSeeding(); this.m_setPassiveSeedingCallback = null; } this.m_fPassiveSeeding = false; this.m_passiveSeedingSourceContext = PassiveSeedingSourceContextEnum.None; this.m_setActiveSeedingCallback = riStatus; riStatus.BeginActiveSeeding(this.SeedType); } } }