diff options
author | Nasser Grainawi <nasser@codeaurora.org> | 2022-02-25 17:44:13 -0700 |
---|---|---|
committer | Nasser Grainawi <nasser@codeaurora.org> | 2022-02-28 12:28:36 -0700 |
commit | 996d20a54fd6765b30f1f0a36d3ae895ee9d8cea (patch) | |
tree | a74141002fe8a5eb0086820c5be63cc5c4099b0f | |
parent | 21b75586a38c8f2e92503394ee1dad059f4f26bd (diff) | |
parent | 8ea9fec379c61e7ee6cebabb18649d1f9e203fca (diff) |
Merge branch 'stable-3.3' into stable-3.4
* stable-3.3:
config-gerrit: Fix 'database' references
Remove leftover receive.changeUpdateThreads references
config-gerrit: Remove extra list continuations
Change-Id: Ia5ee3ed9473f4f48bba55f5e8f0f413b322cb083
Release-Notes: skip
-rw-r--r-- | Documentation/config-gerrit.txt | 42 | ||||
-rw-r--r-- | java/com/google/gerrit/acceptance/AbstractDaemonTest.java | 1 |
2 files changed, 14 insertions, 29 deletions
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt index ab6b1840a8..f08824021f 100644 --- a/Documentation/config-gerrit.txt +++ b/Documentation/config-gerrit.txt @@ -256,8 +256,8 @@ the randomly generated HTTP password is used for authentication. On the other ha if link:#auth.gitBasicAuthPolicy[`auth.gitBasicAuthPolicy`] is set to `HTTP_LDAP`, the password in the request is first checked against the HTTP password and, if it does not match, it is then validated against the LDAP password. -Service users that only exist in the Gerrit database are authenticated by their -HTTP passwords. +Service users that are link:cmd-create-account.html[internal-only] are +authenticated by their HTTP passwords. * `LDAP_BIND` + @@ -611,7 +611,7 @@ needs to have `http.cookieFile` set to a local file, otherwise every single call would trigger a full LDAP authentication and groups resolution which could introduce a noticeable latency on the overall execution and produce unwanted load to the LDAP server. -+ + [[auth.gitOAuthProvider]]auth.gitOAuthProvider:: + Selects the OAuth 2 provider to authenticate git over HTTP traffic with. @@ -677,8 +677,10 @@ By default, true. [[auth.autoUpdateAccountActiveStatus]]auth.autoUpdateAccountActiveStatus:: + Whether to allow automatic synchronization of an account's inactive flag upon login. ++ If set to true, upon login, if the authentication back-end reports the account as active, -the account's inactive flag in the internal Gerrit database will be updated to be active. +the account's inactive flag in NoteDb will be updated to be active. ++ If the authentication back-end reports the account as inactive, the account's flag will be updated to be inactive and the login attempt will be blocked. Users enabling this feature should ensure that their authentication back-end is supported. Currently, only @@ -939,8 +941,8 @@ that change updates are not communicated between Gerrit servers. Hence this cache should be disabled in a cluster setup using multiple primary or multiple replica nodes. + -The cache should be flushed whenever the database changes table is modified -outside of Gerrit. +The cache should be flushed whenever NoteDb change metadata in a repository is +modified outside of Gerrit. cache `"diff"`:: + @@ -1274,7 +1276,7 @@ may use the `administrateServer` capability. Whether the first user that logs in to the Gerrit server should automatically be added to the administrator group and hence get the `administrateServer` capability assigned. This is useful to bootstrap -the authentication database. +the link:config-accounts.html[account data]. + Default is true. @@ -2225,7 +2227,7 @@ to have Gerrit display URLs from this server, rather than itself. By default unset, as the HTTP daemon must be configured externally by the system administrator, and might not even be running on the same host as Gerrit. -+ + [[gerrit.installBatchModule]]gerrit.installBatchModule:: + Repeatable list of class name of additional Guice modules to load as @@ -2235,7 +2237,7 @@ class needs to be either declared in Gerrit or an additional JAR located under the `/lib` directory. + By default unset. -+ + [[gerrit.installDbModule]]gerrit.installDbModule:: + Repeatable list of class name of additional Guice modules to load at @@ -4158,18 +4160,6 @@ the client. + Default is 5 minutes. -[[receive.changeUpdateThreads]]receive.changeUpdateThreads:: -+ -Number of threads to perform change creation or patch set updates -concurrently. Each thread uses its own database connection from -the database connection pool, and if all threads are busy then -main receive thread will also perform a change creation or patch -set update. -+ -Defaults to 1, using only the main receive thread. This feature is for -databases with very high latency that can benefit from concurrent -operations when multiple changes are impacted at once. - [[receive.checkMagicRefs]]receive.checkMagicRefs:: + If true, Gerrit will verify the destination repository has @@ -4391,9 +4381,8 @@ than `INHERIT`. [[repository.name.ownerGroup]]repository.<name>.ownerGroup:: + -A name of a group which exists in the database. Zero, one or many -groups are allowed. Each on its own line. Groups which don't exist -in the database are ignored. +A name of a link:config-groups.html[group] which exists. Zero, one or many +groups are allowed. Each on its own line. Groups which don't exist are ignored. [[retry]] === Section retry @@ -5233,6 +5222,7 @@ are provided. If set to 0, suggestions are always provided. This is only used for suggesting accounts when adding members to a group. + By default 0. + [[suggest.relevantChanges]]suggest.relevantChanges:: + When suggesting reviewers, we go over recent changes of the user, and @@ -5632,10 +5622,6 @@ Sample `etc/secure.config`: [auth] registerEmailPrivateKey = 2zHNrXE2bsoylzUqDxZp0H1cqUmjgWb6 -[database] - username = webuser - password = s3kr3t - [ldap] password = l3tm3srch diff --git a/java/com/google/gerrit/acceptance/AbstractDaemonTest.java b/java/com/google/gerrit/acceptance/AbstractDaemonTest.java index 16283755c3..426c8060d9 100644 --- a/java/com/google/gerrit/acceptance/AbstractDaemonTest.java +++ b/java/com/google/gerrit/acceptance/AbstractDaemonTest.java @@ -441,7 +441,6 @@ public abstract class AbstractDaemonTest { baseConfig.setInt("index", null, "batchThreads", -1); - baseConfig.setInt("receive", null, "changeUpdateThreads", 4); Module module = createModule(); Module auditModule = createAuditModule(); Module sshModule = createSshModule(); |