Trần Tiến Đức created JAMES-2838:
------------------------------------

             Summary: [New Vault] CassandraBlobStore should deal with buckets
                 Key: JAMES-2838
                 URL: https://issues.apache.org/jira/browse/JAMES-2838
             Project: James Server
          Issue Type: Improvement
            Reporter: Trần Tiến Đức


Proposal
Upon default bucket, rely on the existing table (not containing "bucketName")


Introduce some new tables to leverage storage when bucket is specified:

 
{code:java}
BucketedBlobs
 PK BucketName
 PK BlobId
 C chunkCount
BucketedBlobParts
 PK BucketName
 PK BlobId
 CK chunkNumber 
 C data
{code}
 


Benefits: easy to implement


Drawbacks: expensive to delete a Bucket (full blobStore iteration) - Can it be 
mitigated with a timeSerie allowing blob listing? (this looks like too early 
anticipation...)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to