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/01/22 16:03:00 UTC

[jira] [Commented] (SOLR-15101) Add list-backups and delete-backups APIs

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

Jason Gerlowski commented on SOLR-15101:
----------------------------------------

One detail that didn't come up during SIP-12 discussion was how these APIs should respond when pointed at a backup location using the old (non-incremental) file layout.  "Listing" and "deleting" carry implications (i.e. multiple backups per location) that aren't possible in the old file structure.  What would it mean to list the backups, or delete backupId=5 at a particular location that can only ever have 0 or 1 backups?  For that reason I'm leaning towards having the APIs return a 400 or some other appropriate error if used on an old backup location.

> Add list-backups and delete-backups APIs
> ----------------------------------------
>
>                 Key: SOLR-15101
>                 URL: https://issues.apache.org/jira/browse/SOLR-15101
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: master (9.0)
>            Reporter: Jason Gerlowski
>            Assignee: Jason Gerlowski
>            Priority: Major
>
> The accepted SIP-12 outlines a plan for changing Solr's backup file structure in a way that supports storing multiple backups within a single "location" URI.  With this comes a need for APIs that can list out and delete backups within that single location.
> SIP-12 has v1 and v2 API specs for these APIs.  This ticket covers implementing them.



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