-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.10
-
Component/s: File Upload , Nuxeo Drive
-
Tags:
-
Sprint:drive-7.10-2
-
Story Points:3
The `BatchManager` handles a structure that is basically a list of streams that will be used within a transaction.
batchId => List<File>
If we add chunking, we have a more complex structure
batchId => List<List<FileChunk>>
This data (structure and streams) must be shared across Nuxeo nodes if we want the whole system to work across the cluster without having to enforce affinity.
The initial implementation being for JSF, this was not so much of an issue, but it is now critical since we are using this very same endpoint :
- for Nuxeo Drive
- for Rest API
This looks like a new use case for the TransientStore providing an abstraction API on top of :
- memory or Redis for the structure
- FS or S3 for the streams
- depends on
-
NXP-17885 Use TransientStore for batch upload
- Resolved
-
NXP-18050 Refactor and finalize TransientStore
- Resolved
- is required by
-
NXDRIVE-353 Drive doesn't work against a Nuxeo cluster
- Resolved
-
NXP-16950 Improve and Extend Upload API
- Open
-
NXP-18034 Remove @Experimental from TransientStore API
- Resolved