Reputation: 23078
I want the Solr master server to call the slaves' replication handler when it commits. I want to pass a commitWithin
and a URL to call when the commit actually happens.
I want it (post-commit hook URLs) to notify the slaves as soon as master commits so that slaves can start pulling.
Currently we commit on master, then call solr/CORE/replication/?...
for each slave. Now I want to change to commitWithin.
Upvotes: 1
Views: 827
Reputation: 9789
Yes, Solr (at least the latest one) has a flexible post-commit hook. And it is triggered by Solr itself, so will know when the commit actually happened (to answer the comment about commitWithin).
Upvotes: 1