gitlab-org--gitlab-foss/doc/administration
Douwe Maan 5ef2bd192a Merge branch '24059-round-robin-repository-storage' into 'master'
Resolve "Introduce round-robin project creation to spread load over multiple shards"

## What does this MR do?

Allow multiple shards to be enabled in the admin settings page, balancing project creation across all enabled shards.

## Are there points in the code the reviewer needs to double check?

* `f.select ..., multiple: true` isn't the most beautiful UI in the world, but switching to `collection_check_boxes` (or a facsimile thereof) isn't trivial
* Should `pick_repository_storage` be a method of `ApplicationSetting`, or `Project`? It's going to accrete logic over time so perhaps it should be its own class already?
* This is written to avoid the need for a database migration, so it is`serialize :repository_storage` without `, Array`. This is tested, but alternatives include:
  * Add a database migration
  * Write a custom Coder that will accept a String or Array in `load` and always `dump an Array.

## Why was this MR needed?

## Screenshots (if relevant)

![Screen_Shot_2016-11-03_at_14.42.41](/uploads/7de15d6c1b3fa60bb7a34d6a7d9f00ce/Screen_Shot_2016-11-03_at_14.42.41.png)

## Does this MR meet the acceptance criteria?

- [X] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md) entry added
- [X] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [X] Added for this feature/bug
  - [ ] All builds are passing
- [X] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [X] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [X] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [X] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Closes #24059

See merge request !7273
2016-11-04 11:37:49 +00:00
..
auth Log LDAP lookup errors and don't swallow unrelated exceptions 2016-09-28 07:44:58 +02:00
high_availability Fix secret names in HA docs 2016-10-13 09:58:06 +01:00
img Document multiple repository storage paths 2016-11-04 04:01:08 +00:00
integration Add docker-compose environment initialization command 2016-10-25 09:41:29 +03:00
monitoring/performance Add docs for request profiling 2016-10-14 20:18:23 +02:00
operations Move operations/ to new location 2016-10-11 16:13:04 +02:00
raketasks Add Rake task to create/repair GitLab Shell hooks symlinks 2016-11-01 14:52:59 -05:00
troubleshooting Fix gdb backtrace command 2016-11-01 23:59:32 +00:00
build_artifacts.md Refactor build artifacts documentation 2016-08-04 13:06:26 +03:00
container_registry.md Document how to change the Registry's internal port 2016-10-06 18:42:30 +02:00
custom_hooks.md Simplify feature introduction note 2016-08-08 11:44:55 +03:00
environment_variables.md add configurable email subject suffix 2016-10-03 18:07:28 +08:00
housekeeping.md Update housekeeping docs for new GitLab UI. 2016-10-04 12:10:14 -04:00
issue_closing_pattern.md Change location and refactor issue closing pattern documentation 2016-09-22 11:09:04 +03:00
logs.md Show log corresponding to env in admin/logs 2016-11-03 22:02:47 +01:00
operations.md Move operations/ to new location 2016-10-11 16:13:04 +02:00
reply_by_email.md Move reply by email docs to a new location 2016-09-25 11:55:14 +02:00
reply_by_email_postfix_setup.md Move reply by email docs to a new location 2016-09-25 11:55:14 +02:00
repository_checks.md Simplify feature introduction note 2016-08-08 11:44:55 +03:00
repository_storages.md Document multiple repository storage paths 2016-11-04 04:01:08 +00:00
restart_gitlab.md Move reply by email docs to a new location 2016-09-25 11:55:14 +02:00