You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/07/09 20:59:31 UTC

[jira] Commented: (SOLR-624) patch: Don't take snapshot if there are no differences

    [ https://issues.apache.org/jira/browse/SOLR-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612237#action_12612237 ] 

Shalin Shekhar Mangar commented on SOLR-624:
--------------------------------------------

Just curious, why would you cron snapshooter instead of using the postCommit/postOptimize hook?

> 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.