# server is using a self-signed cert.
sso_insecure: false
- # Set replication level for collections whose replication_desired
- # attribute is nil.
+ # Default replication level for collections. This is used when a
+ # collection's replication_desired attribute is nil.
default_collection_replication: 2
remove_column :collections, :redundancy_confirmed_by_client_uuid
Collection.reset_column_information
- # Removing that column dropped some indexes. Let's put them back.
+ # Removing that column dropped some search indexes. Let's put them back.
add_index :collections, ["owner_uuid", "modified_by_client_uuid", "modified_by_user_uuid", "portable_data_hash", "uuid", "name", "file_names"], name: 'collections_search_index'
execute "CREATE INDEX collections_full_text_search_idx ON collections USING gin(#{Collection.full_text_tsvector});"
end
updated_at: 2015-02-07 00:19:28.596236608 Z
uuid: zzzzz-4zz18-wjxq7uzx2m9jj4a
manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n"
- name: replication wantnull havenull
+ name: replication want=null have=null
replication_desired_2_unconfirmed:
owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
updated_at: 2015-02-07 00:21:35.050126576 Z
uuid: zzzzz-4zz18-3t236wrz4769h7x
manifest_text: ". 37b51d194a7513e45b56f6524f2d51f2+3 0:3:bar\n"
- name: replication want2 havenull
+ name: replication want=2 have=null
replication_desired_2_confirmed_2:
owner_uuid: zzzzz-tpzed-xurymjxw79nv3jz
updated_at: 2015-02-07 00:24:52.983381227 Z
uuid: zzzzz-4zz18-434zv1tnnf2rygp
manifest_text: ". acbd18db4cc2f85cedef654fccc4a4d8+3 37b51d194a7513e45b56f6524f2d51f2+3 0:3:foo 3:6:bar\n"
- name: replication want2 have2
+ name: replication want=2 have=2
# Test Helper trims the rest of the file
assert_raise ArvadosModel::PermissionDeniedError do
c.update_attributes replication_confirmed_at: Time.now
end
- # Cannot set both at once.
+ # Cannot set both at once, either.
assert_raise ArvadosModel::PermissionDeniedError do
c.update_attributes(replication_confirmed: 1,
replication_confirmed_at: Time.now)