Merge branch 'stable-3.8' * stable-3.8: Rename metric tasks/max_retries to tasks/failed_max_retries Document metrics Fix completed tasks metrics Log fetch tasks when graceful shutdown fails Displaying refs for fetch tasks Leverage ShutdownState in SourcesCollection Fix pull replication queue metric prefix Set pull replication tests as large Introduce replication queue metrics Handle fetch tasks gracefully during shutdown Add integration test for new project creation Do not honor gerrit.replicateOnStartup on primary side Update gerrit docker image to 3.8.1-almalinux9 Change-Id: Ie5d9a96b88c45a7aa62953c22609017370de2dd8