linagora / james-project

Mirror of Apache James Project
Apache License 2.0
70 stars 63 forks source link

[Crash test] [RLS] [PGSQL] [OVH] handling many domains #5177

Open chibenwa opened 2 months ago

chibenwa commented 2 months ago

What

Tests on preprod, (scripting on top of webadmin) that we can host many tenenants (ie domains) on top of the current OVH infrastructure.

Do create 2000 domains with one user ease and one user in theire INBOX each. (fake the users repository if need be).

The expected result...

Multi-tenant is currently enforces via a bucket

But OVH by default support 100 buckets in a project and could expend the count to 1.000 upon request

Thus, we expect this test to (sadly) fail

The alternative

Find a way to encode the tenant (ie the domain) as part of the key, as a prefix.

IE

linagora.com/{regularBlobId}

We need to demonstrate that the resulting setup do still supports the GC algorithm.

cc @PatrickPereiraLinagora @ccartierlng