Trần Tiến Đức created JAMES-3008: ------------------------------------
Summary: BlobId list in Cassandra - pre-write check Key: JAMES-3008 URL: https://issues.apache.org/jira/browse/JAMES-3008 Project: James Server Issue Type: Sub-task Reporter: Trần Tiến Đức Introduced a `BlobIdExistantTester` API within blob-api: {code:java} interface BlobIdExistantTester { Mono<Void> add(BlobId blobId); Mono<Boolean> testExistance(BlobId blobId); } {code} Create a `FakeBlobIdExistantTester` that always returs false. Create a `CassandraBlobIdExistantTester` and the related tests. Ensure `ObjectStorageBlobDAO`: - Don't persist small blobs that already exist - Don't attempt to rename (copy) big blobs that already exist - deleting the intermediary blob supplied is enough - and faster. when cassandra is down, just store it as normal Propose a proof of concept regarding these changes. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org