syncstorage-rs icon indicating copy to clipboard operation
syncstorage-rs copied to clipboard

Question about collection design

Open jackyzy823 opened this issue 3 years ago • 1 comments

I have a question about collection. since user can create collections and all these name -> collection_id are stored in the same table. Will this design be abused?

like a user just create about 2**31 collections , then the next user will not be able to create collection.

even worse panic (assume max = 2147483647 )? https://github.com/mozilla-services/syncstorage-rs/blob/a086a118445233c31ddd136feac74c207d707dd3/src/db/spanner/models.rs#L189

┆Issue is synchronized with this Jira Task

jackyzy823 avatar May 04 '22 07:05 jackyzy823

It's a good question, and possibly a good catch. We'll look into this. Thanks!

jrconlin avatar May 05 '22 00:05 jrconlin