diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 18:18:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 18:18:33 +0000 |
commit | f64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch) | |
tree | a2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /doc/development/geo | |
parent | bfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff) | |
download | gitlab-ce-f64a639bcfa1fc2bc89ca7db268f594306edfd7c.tar.gz |
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'doc/development/geo')
-rw-r--r-- | doc/development/geo/framework.md | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/doc/development/geo/framework.md b/doc/development/geo/framework.md index e615fbc87a9..055b9ce4ad6 100644 --- a/doc/development/geo/framework.md +++ b/doc/development/geo/framework.md @@ -289,7 +289,7 @@ For example, to add support for files referenced by a `Widget` model with a t.binary :verification_checksum t.binary :verification_checksum_mismatched t.string :verification_failure, limit: 255 - t.text :last_sync_failure + t.string :last_sync_failure, limit: 255 t.index :widget_id, name: :index_widget_registry_on_widget_id, unique: true t.index :retry_at @@ -303,8 +303,6 @@ For example, to add support for files referenced by a `Widget` model with a end end end - - add_text_limit :widget_registry, :last_sync_failure, 255 end def down @@ -319,10 +317,7 @@ For example, to add support for files referenced by a `Widget` model with a # frozen_string_literal: true class Geo::WidgetRegistry < Geo::BaseRegistry - include Geo::ReplicableRegistry - # TODO: Include VerificationState in VerifiableRegistry - # https://gitlab.com/gitlab-org/gitlab/-/issues/298811 - include ::Gitlab::Geo::VerificationState + include ::Geo::ReplicableRegistry include ::Geo::VerifiableRegistry MODEL_CLASS = ::Widget @@ -943,7 +938,7 @@ For example, to add support for files referenced by a `Gizmos` model with a t.bigint :gizmo_id, null: false t.integer :state, default: 0, null: false, limit: 2 t.integer :retry_count, default: 0, limit: 2 - t.text :last_sync_failure + t.string :last_sync_failure, limit: 255 t.boolean :force_to_redownload t.boolean :missing_on_primary @@ -951,8 +946,6 @@ For example, to add support for files referenced by a `Gizmos` model with a t.index :retry_at t.index :state end - - add_text_limit :gizmo_registry, :last_sync_failure, 255 end def down |