Is there a way to share documents between partitions to avoid duplication?
If I have enum data Message Status
(sent, sending, failed, undeliverable, etc.), I have to make a copy for each partition, instead of having all share the same statuses.
Example for clarity:
User A
has access to partition 1
, user B
has access to partition 2
. For user A
to have access to the enum data, it needs to exist with partition key 1
. Same thing with user B
, he needs a copy of the enum documents with partition key 2
, because he cannot access the existing one with partition 1
. So the data ends up being duplicated.