[ https://issues.apache.org/jira/browse/SOLR-15090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306574#comment-17306574 ]
Jason Gerlowski commented on SOLR-15090: ---------------------------------------- I've published my first pass of this to the post-split repo [here|https://github.com/apache/solr/pull/39]. Still TODO: * refactoring of test code to mock out 'Storage' client object * additional unit tests to better cover individual operations? * ref-guide docs on usage and configuration parameters? Reviewers will notice that the PR has the new BackupRepository packaged as a "contrib" in the main Solr repo. There's good discussion on the pros/cons of this [here|https://issues.apache.org/jira/browse/SOLR-15089?focusedCommentId=17287128&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17287128], where it came up on another BackupRepository impl I suggested. If anyone has thoughts on contrib vs plugin, it prob makes sense to continue that discussion there (or on SOLR-14688) rather than fracturing it further here. I'll obey the outcome here either way - just looking to avoid yet another restart of the conversation when it exists elsewhere. > Allow backups to GCS (Google Cloud Storage) > ------------------------------------------- > > Key: SOLR-15090 > URL: https://issues.apache.org/jira/browse/SOLR-15090 > Project: Solr > Issue Type: Sub-task > Reporter: Jason Gerlowski > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > Solr's BackupRepository interface provides an abstraction around the physical > location/format that backups are stored in. This allows plugin writers to > create "repositories" for a variety of storage mediums. It'd be nice if Solr > offered more mediums out of the box though, such as some of the "blobstore" > offerings provided by various cloud providers. > This ticket proposes that a "BackupRepository" implementation for Google's > popular 'Cloud Storage' blobstore, so that Solr users can use it for backups > without needing to write their own code. > Google offers a GCS Java client with acceptable licensing, and the > integration code is relatively simple. The biggest challenge in supporting > this will likely be procedural - integration testing requires GCS access and > GCS access costs money. We can check with INFRA to see if there is any way > to get cloud credits for an integration test to run in nightly Jenkins runs > on the ASF Jenkins server. Alternatively we can try to stub out the > blobstore in some reliable way. -- This message was sent by Atlassian Jira (v8.3.4#803005)