Partitioning: Enforce partitioning key in queries, detect queries without it
Once audit_events
has been partitioned, we should enforce using the partitioning key always. This can be done with activerecord-multi-tenant
gem.
Additionally, we may want to add checks that allow us to detect missing partitioning keys in development. Perhaps we simply start by raising an exception whenever the model is being queried without a partitioning key?
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.