| | |
| | | // starvation of changelog messages |
| | | // all domain have been unactived means are covered |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo("In " + replicationServerDomain.getReplicationServer(). |
| | | TRACER.debugInfo("In " + replicationServerDomain.getReplicationServer(). |
| | | getMonitorInstanceName() + "," + this + " closePhase1()" |
| | | + " searchCtxt=" + cLSearchCtxt); |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | TRACER.debugInfo("In " + replicationServerDomain.getReplicationServer(). |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo("In " + replicationServerDomain.getReplicationServer(). |
| | | getMonitorInstanceName() |
| | | + "," + this + " getGeneralizedOldestChange() " + |
| | | " returns " + |
| | |
| | | { |
| | | // non blocking |
| | | UpdateMsg newMsg = clDomCtxts[idomain].mh.getnextMessage(false); |
| | | TRACER.debugInfo(this + |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo(this + |
| | | " getNextElligibleMessage got the next changelogmsg " |
| | | + " from " + clDomCtxts[idomain].mh.getServiceId() |
| | | + " newCLMsg=" + newMsg); |
| | |
| | | String s = "=> "; |
| | | |
| | | ReplicationServer rs = replicationServerDomain.getReplicationServer(); |
| | | TRACER.debugInfo("ECLSH.computeNewCrossDomainElligibleCN() " |
| | | |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo("ECLSH.computeNewCrossDomainElligibleCN() " |
| | | + " periodic starts rs="+rs); |
| | | |
| | | Iterator<ReplicationServerDomain> rsdi = rs.getCacheIterator(); |
| | |
| | | } |
| | | } |
| | | |
| | | TRACER.debugInfo("SH.computeNewCrossDomainElligibleCN() periodic " + |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo("SH.computeNewCrossDomainElligibleCN() periodic " + |
| | | " ends with " + |
| | | " the following domainElligibleCN for each domain :" + s + |
| | | "\n thus CrossDomainElligibleCN=" + computedCrossDomainElligibleCN + |
| | |
| | | // then the server is considered down and not considered for eligibility |
| | | if (TimeThread.getTime()-storedCN.getTime()>2000) |
| | | { |
| | | TRACER.debugInfo( |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo( |
| | | "For RSD." + rsd.getBaseDn() + " Server " + sid |
| | | + " is not considered for eligibility ... potentially down"); |
| | | continue; |
| | |
| | | elligibleCN = storedCN; |
| | | } |
| | | } |
| | | TRACER.debugInfo( |
| | | |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo( |
| | | "For RSD." + rsd.getBaseDn() + " ElligibleCN()=" + elligibleCN); |
| | | return elligibleCN; |
| | | } |