[
https://issues.apache.org/jira/browse/SOLR-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612262#action_12612262
]
Richard "Trey" Hyde commented on SOLR-624:
------------------------------------------
The original patch was before postCommit/postOptimize hooks existed (or at
least before I know about them) in the days before Solr was open sourced.
Threw this quickly together today when I was annoyed when using snapshooter on
the command line (testing MacOS, FreeBSD compatibility among other things).
It seems there is one other person that might find it useful.
> patch: Don't take snapshot if there are no differences
> ------------------------------------------------------
>
> Key: SOLR-624
> URL: https://issues.apache.org/jira/browse/SOLR-624
> Project: Solr
> Issue Type: Improvement
> Components: replication
> Affects Versions: 1.3
> Reporter: Richard "Trey" Hyde
> Fix For: 1.3
>
> Attachments: solr.check.patch
>
>
> This is similar in concept to a change I made several years ago in Solar.
> Cronned snapshooters can quickly generate a lot of snaps which will then be
> unnecessarily distributed to the slaves if there hasn't been any changes in
> that period.
> Adds a "check" argument to make sure there where changes to the index before
> taking the snap.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.