directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Praven John (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-2105) Master Master Replication is broken
Date Tue, 03 Nov 2015 20:06:27 GMT
Praven John created DIRSERVER-2105:
--------------------------------------

             Summary: Master Master Replication is broken
                 Key: DIRSERVER-2105
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2105
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M17
         Environment: Production
            Reporter: Praven John
            Priority: Blocker


Hi,

We've setup Master Master replcation in Prod. But the replication does not work between the
two. After enabling DEBUG logs, I find that when one of the masters restarts the other starts
spewing the below logs.

{code}
[04:57:51] DEBUG [org.apache.directory.server.PROVIDER_LOG] - Simple Search MessageType :
SEARCH_REQUEST
Message ID : 2
    SearchRequest
        baseDn : 'dc=savi,dc=com'
        filter : '(objectClass=*)'
        scope : whole subtree
        typesOnly : false
        Size Limit : no limit
        Time Limit : no limit
        Deref Aliases : never Deref Aliases
        attributes : '*', '+'
org.apache.directory.api.ldap.model.message.SearchRequestImpl@e9ab7965    ManageDsaITImpl
Control
        Type OID    : '2.16.840.1.113730.3.4.2'
        Criticality : 'false'
'
SortRequestControlImpl [sortKeys=[SortKey : [entryDN, 2.5.13.1, reverse]]]    SyncRequestValue
control :
        oid : 1.3.6.1.4.1.4203.1.9.1.1
        critical : false
        mode              : 'REFRESH_AND_PERSIST'
        cookie            : ''
        reloadHint : 'false'
 for LdapSession : <0.9.2342.19200300.100.1.1=admin,2.5.4.11=system,prod-common-ldap-02-us-east-1b.savitechnology.com/10.201.4.52:46117>
[04:57:51] DEBUG [org.apache.directory.server.PROVIDER_LOG] - search operation requested size
limit 9223372036854775807, server size limit 9223372036854775807
[04:57:51] ERROR [org.apache.directory.server.PROVIDER_LOG] - Failed to handle the syncrepl
request
java.lang.NullPointerException
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.sendSearchResultEntry(SyncReplRequestHandler.java:754)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.readResults(SyncReplRequestHandler.java:722)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.doSimpleSearch(SyncReplRequestHandler.java:671)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.doInitialRefresh(SyncReplRequestHandler.java:562)
	at org.apache.directory.server.ldap.replication.provider.SyncReplRequestHandler.handleSyncRequest(SyncReplRequestHandler.java:311)
	at org.apache.directory.server.ldap.handlers.request.SearchRequestHandler.handleReplication(SearchRequestHandler.java:238)
	at org.apache.directory.server.ldap.handlers.request.SearchRequestHandler.handle(SearchRequestHandler.java:198)
	at org.apache.directory.server.ldap.handlers.request.SearchRequestHandler.handle(SearchRequestHandler.java:93)
	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:207)
	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:221)
	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:217)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
	at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:474)
	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:428)
	at java.lang.Thread.run(Thread.java:745)
{code}

Any help is appreciated.

Regards
Praven John



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message