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 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/224168
milestone: '13.4' milestone: '13.4'
type: development type: development
group: group::geo group: group::geo
default_enabled: false default_enabled: true
...@@ -8959,8 +8959,7 @@ type GeoNode { ...@@ -8959,8 +8959,7 @@ type GeoNode {
selectiveSyncType: String selectiveSyncType: String
""" """
Find snippet repository registries on this Geo node. Available only when Find snippet repository registries on this Geo node
feature flag `geo_snippet_repository_replication` is enabled
""" """
snippetRepositoryRegistries( snippetRepositoryRegistries(
""" """
......
...@@ -25082,7 +25082,7 @@ ...@@ -25082,7 +25082,7 @@
}, },
{ {
"name": "snippetRepositoryRegistries", "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": [ "args": [
{ {
"name": "ids", "name": "ids",
...@@ -1513,7 +1513,7 @@ Autogenerated return type of EpicTreeReorder. ...@@ -1513,7 +1513,7 @@ Autogenerated return type of EpicTreeReorder.
| `selectiveSyncNamespaces` | NamespaceConnection | The namespaces that should be synced, if `selective_sync_type` == `namespaces` | | `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` | | `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 | | `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 | | `syncObjectStorage` | Boolean | Indicates if this secondary node will replicate blobs in Object Storage |
| `terraformStateVersionRegistries` | TerraformStateVersionRegistryConnection | Find terraform state version registries on this Geo node | | `terraformStateVersionRegistries` | TerraformStateVersionRegistryConnection | Find terraform state version registries on this Geo node |
| `url` | String | The user-facing URL for this Geo node | | `url` | String | The user-facing URL for this Geo node |
......
...@@ -33,8 +33,7 @@ module Types ...@@ -33,8 +33,7 @@ module Types
field :snippet_repository_registries, ::Types::Geo::SnippetRepositoryRegistryType.connection_type, field :snippet_repository_registries, ::Types::Geo::SnippetRepositoryRegistryType.connection_type,
null: true, null: true,
resolver: ::Resolvers::Geo::SnippetRepositoryRegistriesResolver, resolver: ::Resolvers::Geo::SnippetRepositoryRegistriesResolver,
description: 'Find snippet repository registries on this Geo node', description: 'Find snippet repository registries on this Geo node'
feature_flag: :geo_snippet_repository_replication
field :terraform_state_version_registries, ::Types::Geo::TerraformStateVersionRegistryType.connection_type, field :terraform_state_version_registries, ::Types::Geo::TerraformStateVersionRegistryType.connection_type,
null: true, null: true,
resolver: ::Resolvers::Geo::TerraformStateVersionRegistriesResolver, resolver: ::Resolvers::Geo::TerraformStateVersionRegistriesResolver,
......
...@@ -12,10 +12,6 @@ module Geo ...@@ -12,10 +12,6 @@ module Geo
::Gitlab::GitAccessSnippet ::Gitlab::GitAccessSnippet
end end
def self.replication_enabled_by_default?
false
end
def needs_checksum? def needs_checksum?
false false
end 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