Postgres and Elastc Search out of sync : How to ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2018 08:08 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2018 08:50 AM
NB