You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deleted a document from the MongoDB database, then started Monstache. Monstache did not delete the document from the Elasticsearch index. I deleted more documents with Monstache running, and it deleted those from the Elasticsearch index.
The text was updated successfully, but these errors were encountered:
The direct-read-namespaces option allows us to copy entire collections when starting Monstache.
But the sync flow is only from MongoDB to ES... In this case, your best option is to drop ES index manually and start Monstache process again.
@rwynn, when running direct-read-namespaces via a cron job like in this sample, would be useful to drop all ES documents that were deleted from mongoDB.
hi @oliveiracdz. there is not an option like this. My only thought would be to delete the index in the same cron job before kicking off the direct reads.
I deleted a document from the MongoDB database, then started Monstache. Monstache did not delete the document from the Elasticsearch index. I deleted more documents with Monstache running, and it deleted those from the Elasticsearch index.
The text was updated successfully, but these errors were encountered: