You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Noble Paul (Jira)" <ji...@apache.org> on 2019/10/06 22:59:00 UTC
[jira] [Updated] (SOLR-13821) Package Store
[ https://issues.apache.org/jira/browse/SOLR-13821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-13821:
------------------------------
Description:
Package store is a storage managed by Solr that holds the package artifacts. This is replicated across nodes.
Design is here: [https://docs.google.com/document/d/15b3m3i3NFDKbhkhX_BN0MgvPGZaBj34TKNF2-UNC3U8/edit?ts=5d86a8ad#]
The package store is powered by an underlying filestore. This filestore is a fully replicated p2p filesystem storage for artifacts.
The APIs are as follows
{code:java}
# add a file
POST /api/cluster/filestore/path/to/file.jar
#retrieve a file
GET /api/cluster/filestore/path/to/file.jar
#list files in the /path/to directory
GET /api/cluster/filestore/path/to
#GET meta info of the jar
GET /api/cluster/filestore/path/to/file.jar?meta=true
{code}
This store keeps 2 files per file
# The actual file say {{myplugin.jar}}
# A metadata file {{.myplugin.jar.json}} in the same directory
The contenbts of the metadata file is
{code:json}
{
"sha512" : "<sha512-of the file>"
"sig": {
"<key-name>" :"<signature>"
}}
{code}
was:
Package store is a storage managed by Solr that holds the package artifacts. This is replicated across nodes.
Design is here: https://docs.google.com/document/d/15b3m3i3NFDKbhkhX_BN0MgvPGZaBj34TKNF2-UNC3U8/edit?ts=5d86a8ad#
> Package Store
> -------------
>
> Key: SOLR-13821
> URL: https://issues.apache.org/jira/browse/SOLR-13821
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Ishan Chattopadhyaya
> Assignee: Noble Paul
> Priority: Major
>
> Package store is a storage managed by Solr that holds the package artifacts. This is replicated across nodes.
> Design is here: [https://docs.google.com/document/d/15b3m3i3NFDKbhkhX_BN0MgvPGZaBj34TKNF2-UNC3U8/edit?ts=5d86a8ad#]
> The package store is powered by an underlying filestore. This filestore is a fully replicated p2p filesystem storage for artifacts.
> The APIs are as follows
> {code:java}
> # add a file
> POST /api/cluster/filestore/path/to/file.jar
> #retrieve a file
> GET /api/cluster/filestore/path/to/file.jar
> #list files in the /path/to directory
> GET /api/cluster/filestore/path/to
> #GET meta info of the jar
> GET /api/cluster/filestore/path/to/file.jar?meta=true
> {code}
> This store keeps 2 files per file
> # The actual file say {{myplugin.jar}}
> # A metadata file {{.myplugin.jar.json}} in the same directory
> The contenbts of the metadata file is
> {code:json}
> {
> "sha512" : "<sha512-of the file>"
> "sig": {
> "<key-name>" :"<signature>"
> }}
> {code}
--
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