Postgres and Elastc Search out of sync : How to ?

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)
0 votes

0 answers

1455 views

ANSWER

NB : I m talking about LTS 2015 against ES 1.7
02/13/2018