summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Sun <tony.sun427@gmail.com>2020-01-27 10:13:23 -0800
committerGitHub <noreply@github.com>2020-01-27 10:13:23 -0800
commitf03d4fa0efe5abf953b6df2996fefddc751215aa (patch)
tree86d3e1e89053ccee024054c2510d74cf2247cf56
parentadfb472b6c22821737c34cd4fde6aeb08849e9f6 (diff)
parent866a83618496846b29b794a42b2e7cd0f49f347a (diff)
downloadcouchdb-mango-whitespace.tar.gz
Merge branch 'master' into mango-whitespacemango-whitespace
-rw-r--r--build-aux/Jenkinsfile.full26
-rw-r--r--build-aux/Jenkinsfile.pr10
-rw-r--r--rel/overlay/etc/default.ini8
-rw-r--r--src/couch/src/couch_util.erl2
4 files changed, 24 insertions, 22 deletions
diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index b9067a192..b1d46e846 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -81,7 +81,7 @@ pipeline {
agent {
docker {
label 'docker'
- image 'couchdbdev/debian-stretch-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/debian-stretch-erlang-20.3.8.25-1:latest'
args "${DOCKER_ARGS}"
alwaysPull true
}
@@ -161,7 +161,7 @@ pipeline {
stage('CentOS 6') {
agent {
docker {
- image 'couchdbdev/centos-6-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/centos-6-erlang-20.3.8.25-1:latest'
label 'docker'
args "${DOCKER_ARGS}"
alwaysPull true
@@ -205,7 +205,7 @@ pipeline {
stage('CentOS 7') {
agent {
docker {
- image 'couchdbdev/centos-7-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/centos-7-erlang-20.3.8.25-1:latest'
label 'docker'
args "${DOCKER_ARGS}"
alwaysPull true
@@ -250,7 +250,7 @@ pipeline {
stage('CentOS 8') {
agent {
docker {
- image 'couchdbdev/centos-8-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/centos-8-erlang-20.3.8.25-1:latest'
label 'docker'
args "${DOCKER_ARGS}"
alwaysPull true
@@ -295,7 +295,7 @@ pipeline {
stage('Ubuntu Xenial') {
agent {
docker {
- image 'couchdbdev/ubuntu-xenial-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/ubuntu-xenial-erlang-20.3.8.25-1:latest'
label 'docker'
args "${DOCKER_ARGS}"
alwaysPull true
@@ -339,7 +339,7 @@ pipeline {
stage('Ubuntu Bionic') {
agent {
docker {
- image 'couchdbdev/ubuntu-bionic-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/ubuntu-bionic-erlang-20.3.8.25-1:latest'
label 'docker'
alwaysPull true
args "${DOCKER_ARGS}"
@@ -383,7 +383,7 @@ pipeline {
stage('Debian Stretch') {
agent {
docker {
- image 'couchdbdev/debian-stretch-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/debian-stretch-erlang-20.3.8.25-1:latest'
label 'docker'
alwaysPull true
args "${DOCKER_ARGS}"
@@ -427,7 +427,7 @@ pipeline {
stage('Debian Buster amd64') {
agent {
docker {
- image 'couchdbdev/debian-buster-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/debian-buster-erlang-20.3.8.25-1:latest'
label 'docker'
alwaysPull true
args "${DOCKER_ARGS}"
@@ -471,7 +471,7 @@ pipeline {
stage('Debian Buster arm64v8') {
agent {
docker {
- image 'couchdbdev/arm64v8-debian-buster-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/arm64v8-debian-buster-erlang-20.3.8.25-1:latest'
label 'arm64v8'
alwaysPull true
args "${DOCKER_ARGS}"
@@ -515,7 +515,7 @@ pipeline {
stage('Debian Buster ppc64le') {
agent {
docker {
- image 'couchdbdev/ppc64le-debian-buster-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/ppc64le-debian-buster-erlang-20.3.8.25-1:latest'
label 'ppc64le'
alwaysPull true
args "${DOCKER_ARGS}"
@@ -584,12 +584,12 @@ pipeline {
}
stage('Pull latest docker image') {
steps {
- sh "docker pull couchdbdev/arm64v8-debian-buster-erlang-20.3.8.24-1:latest"
+ sh "docker pull couchdbdev/arm64v8-debian-buster-erlang-20.3.8.25-1:latest"
}
}
stage('Build from tarball & test & packages') {
steps {
- withDockerContainer(image: "couchdbdev/arm64v8-debian-buster-erlang-20.3.8.24-1:latest", args: "${DOCKER_ARGS}") {
+ withDockerContainer(image: "couchdbdev/arm64v8-debian-buster-erlang-20.3.8.25-1:latest", args: "${DOCKER_ARGS}") {
unstash 'tarball'
withEnv(['MIX_HOME='+pwd(), 'HEX_HOME='+pwd()]) {
sh( script: build_and_test )
@@ -629,7 +629,7 @@ pipeline {
agent {
docker {
- image 'couchdbdev/debian-buster-erlang-20.3.8.24-1:latest'
+ image 'couchdbdev/debian-buster-erlang-20.3.8.25-1:latest'
label 'docker'
alwaysPull true
args "${DOCKER_ARGS}"
diff --git a/build-aux/Jenkinsfile.pr b/build-aux/Jenkinsfile.pr
index cf287b225..8c9cbd930 100644
--- a/build-aux/Jenkinsfile.pr
+++ b/build-aux/Jenkinsfile.pr
@@ -12,7 +12,6 @@
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
// License for the specific language governing permissions and limitations under
// the License.
-
build_and_test = '''
mkdir -p ${COUCHDB_IO_LOG_DIR} ${ERLANG_VERSION}
cd ${ERLANG_VERSION}
@@ -46,11 +45,12 @@ pipeline {
// npm config cache below deals with /home/jenkins not mapping correctly
// inside the image
DOCKER_ARGS = '-e npm_config_cache=npm-cache -e HOME=. -v=/etc/passwd:/etc/passwd -v /etc/group:/etc/group'
- // Also be sure to change these values in the matrix below...
+ // *** BE SURE TO CHANGE THE ERLANG VERSION FARTHER DOWN S WELL ***
+ // Search for ERLANG_VERSION
// see https://issues.jenkins-ci.org/browse/JENKINS-40986
LOW_ERLANG_VER = '20.3.8.11'
- MID_ERLANG_VER = '20.3.8.24'
- HIGH_ERLANG_VER = '22.2'
+ MID_ERLANG_VER = '20.3.8.25'
+ HIGH_ERLANG_VER = '22.2.3'
}
options {
@@ -106,7 +106,7 @@ pipeline {
axes {
axis {
name 'ERLANG_VERSION'
- values "20.3.8.11", "20.3.8.24", "22.2"
+ values "20.3.8.11", "20.3.8.25", "22.2.3"
}
}
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 764620a66..3f72b605a 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -94,9 +94,11 @@ users_db_security_editable = false
couch = couch_bt_engine
[process_priority]
-; Selectively disable altering process priorities
-; for modules that request it.
-; couch_server = true
+; Selectively disable altering process priorities for modules that request it.
+; * NOTE: couch_server priority has been shown to lead to CouchDB hangs and
+; unexpected failures. Do not enable unless you're sure you can tolerate
+; this possibility.
+;couch_server = false
[cluster]
q=2
diff --git a/src/couch/src/couch_util.erl b/src/couch/src/couch_util.erl
index b5c93ce51..180db9518 100644
--- a/src/couch/src/couch_util.erl
+++ b/src/couch/src/couch_util.erl
@@ -692,7 +692,7 @@ set_mqd_off_heap(Module) ->
set_process_priority(Module, Level) ->
- case config:get_boolean("process_priority", atom_to_list(Module), true) of
+ case config:get_boolean("process_priority", atom_to_list(Module), false) of
true ->
process_flag(priority, Level),
ok;