This is a working document to outline the decision making process with respect to using CitusDB as a database sharding solution for GitLab on GitLab.com.
We were exploring the Citus Community offering as part of our efforts to explore CitusDB as a sharding solution. Citus Community is licensed under the GNU Affero General Public License v3.0 (GNU AGPLv3). GNU AGPLv3 is listed in our handbook as an unacceptable license requiring legal approval for use.
On April 15, 2020 we sought advice from our legal counsel. There were enough questions and concerns about the GNU AGPLv3 license that we decided to discontinue our usage research into Citus Community. Notes and agenda can be found here(only accessible to GitLab team-members).
April 20, 2020 - Due to licensing costs we have decided not to pursue Citus Enterprise for a sharding solution. We will focus our efforts on PostgreSQL Partitioning with foreign data wrappers (FDW).