You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2021/02/15 12:12:00 UTC

[jira] [Resolved] (SOLR-15088) Backups should detect corruption during file upload

     [ https://issues.apache.org/jira/browse/SOLR-15088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Gerlowski resolved SOLR-15088.
------------------------------------
    Fix Version/s: 8.9
                   master (9.0)
         Assignee: Jason Gerlowski
       Resolution: Fixed

I initially thought this would need to be its own PR, but it ended up fitting nicely into the PRs opened for SOLR-13608, which have already been merged.  So this is done!  Closing accordingly.

> Backups should detect corruption during file upload
> ---------------------------------------------------
>
>                 Key: SOLR-15088
>                 URL: https://issues.apache.org/jira/browse/SOLR-15088
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Jason Gerlowski
>            Assignee: Jason Gerlowski
>            Priority: Major
>             Fix For: master (9.0), 8.9
>
>
> Currently backups read and write files (either locally, or across a network), but nothing is done to make sure that a backup isn't backing up index files that are already corrupted.  Or to make sure that corruption doesn't occur in transit.  Backup/restore should ahve some protections to ensure that files that are already corrupted aren't persisted.  We can do this by computing a checksum of the file as it's being read/written and comparing that to values stored in the index files already.
> See [SIP-12|https://cwiki.apache.org/confluence/display/SOLR/SIP-12%3A+Incremental+Backup+and+Restore] and the corresponding [discussion thread|http://mail-archives.apache.org/mod_mbox/lucene-dev/202012.mbox/%3cCAPCX2-LRxHMs55Mx249sSYLPWT-vb-fi=HifRoA12wiwLiSQMQ@mail.gmail.com%3e] for more details. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org