cancel
Showing results for 
Search instead for 
Did you mean: 

Postgres and Elastc Search out of sync : How to ?

pibou_Bouvret
Elite Collaborator
Elite Collaborator

I use nuxeo-esync in order to check inconsistencies between my database and indexing in ES.

The doc ids referenced in the MISS entries are reindexed and I suppose ACL problems should be treated the same way. But what about the REMOVE entries ? Am i supposed to delete them in ES ?

What a pity this tool does not fix the problems it reports !

BTW the acl check often fails this way and there is nothing in the log (esync 1.0) :

Exception in thread "pool-1-thread-3" java.lang.NullPointerException
     at es.EsDefault.getDocument(EsDefault.java:156)
     at checker.AclChecker.compareWithEs(AclChecker.java:148)
     at checker.AclChecker.check(AclChecker.java:45)
     at checker.AbstractChecker.run(AbstractChecker.java:63)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:745)
1 REPLY 1

pibou_Bouvret
Elite Collaborator
Elite Collaborator

NB