Commit c5d6de11 authored by Valery Sizov's avatar Valery Sizov Committed by Michael Kozono

Enable Snippet replication by default

Also, added the changelog item
parent 43667b2f
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/224168
milestone: '13.4'
type: development
group: group::geo
default_enabled: false
default_enabled: true
......@@ -8959,8 +8959,7 @@ type GeoNode {
selectiveSyncType: String
"""
Find snippet repository registries on this Geo node. Available only when
feature flag `geo_snippet_repository_replication` is enabled
Find snippet repository registries on this Geo node
"""
snippetRepositoryRegistries(
"""
......
......@@ -25082,7 +25082,7 @@
},
{
"name": "snippetRepositoryRegistries",
"description": "Find snippet repository registries on this Geo node. Available only when feature flag `geo_snippet_repository_replication` is enabled",
"description": "Find snippet repository registries on this Geo node",
"args": [
{
"name": "ids",
......@@ -1513,7 +1513,7 @@ Autogenerated return type of EpicTreeReorder.
| `selectiveSyncNamespaces` | NamespaceConnection | The namespaces that should be synced, if `selective_sync_type` == `namespaces` |
| `selectiveSyncShards` | String! => Array | The repository storages whose projects should be synced, if `selective_sync_type` == `shards` |
| `selectiveSyncType` | String | Indicates if syncing is limited to only specific groups, or shards |
| `snippetRepositoryRegistries` | SnippetRepositoryRegistryConnection | Find snippet repository registries on this Geo node. Available only when feature flag `geo_snippet_repository_replication` is enabled |
| `snippetRepositoryRegistries` | SnippetRepositoryRegistryConnection | Find snippet repository registries on this Geo node |
| `syncObjectStorage` | Boolean | Indicates if this secondary node will replicate blobs in Object Storage |
| `terraformStateVersionRegistries` | TerraformStateVersionRegistryConnection | Find terraform state version registries on this Geo node |
| `url` | String | The user-facing URL for this Geo node |
......
......@@ -33,8 +33,7 @@ module Types
field :snippet_repository_registries, ::Types::Geo::SnippetRepositoryRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::SnippetRepositoryRegistriesResolver,
description: 'Find snippet repository registries on this Geo node',
feature_flag: :geo_snippet_repository_replication
description: 'Find snippet repository registries on this Geo node'
field :terraform_state_version_registries, ::Types::Geo::TerraformStateVersionRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::TerraformStateVersionRegistriesResolver,
......
......@@ -12,10 +12,6 @@ module Geo
::Gitlab::GitAccessSnippet
end
def self.replication_enabled_by_default?
false
end
def needs_checksum?
false
end
......
---
title: 'Geo: Snippet replication using the new Geo framework for repositories'
merge_request: 48371
author:
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment