Option to disable connectivity checks in receive-pack
We're introducing transaction management in Gitaly in Initial blueprint for transaction management in... (gitlab!122028 - merged). The transaction manager verifies each transaction before logging them to ensure applying the log entry can't fail. This includes verifying objects and their connectivity. As every write is verified anyway, it's wasteful to perform the same checks elsewhere. In particular, receive-pack
performs particularly expensive connectivity checks on the received objects. We'd ideally have an option to disable the checks receive-pack
is performing. This can speed up pushes. As the connectivity checks take a significant amount of time in repositories with many references, this will provide a nice speed up.
This issue tracks adding an option in receive-pack to disable the object verification and connectivity checks.
/cc @jcaigitlab