couchdb:refactor-keys-mutually-exclusive

Last commit made on 2023-03-09
Get this branch:
git clone -b refactor-keys-mutually-exclusive https://git.launchpad.net/couchdb

Branch merges

Branch information

Name:
refactor-keys-mutually-exclusive
Repository:
lp:couchdb

Recent commits

f1777aa... by Jay Doane <email address hidden>

Refactor

465468f... by jiahuili <email address hidden>

Mutual exclusive: key, keys, start_key and end_key

- Key(s) should incompatible with start_key and end_key
- Treat single element keys as key

0db9154... by Jiahui Li <email address hidden>

Documentation: Add `adm:pass` to replication endpoint URL (#4457)

When using replication, we need to specify a username and password
(`adm:pass` / `admin:password`) for the replication endpoint URL,
otherwise a 401 unauthorized error will be thrown.

Co-authored-by: jiahuili <email address hidden>

5aed161... by Ronny Berndt

Remove duplicate parts of doc note (#4455)

6e98345... by Nick Vatamaniuc <email address hidden>

Fix flaky elixir users_db_tests

This fails more often on MacOS CI workers [1] but it seems to be a general
flaky test as the users auth ddoc is not guaranteed to be inserted
synchronously.

[1] https://github.com/apache/couchdb/issues/4397#issue-1551336429

7ec5f64... by Nick Vatamaniuc <email address hidden>

Fix flaky LRU test

Try to fix flaky test which was noticed on the MacOS CI worker [1]:

```
[2023-02-17T07:40:34.978Z] ets_lru_test:285: -test_limits/2-fun-7- (Expire leaves new entries)...ok
[2023-02-17T07:40:34.978Z] ets_lru_test:292: -test_limits/2-fun-5- (Entry was expired)...*failed*
[2023-02-17T07:40:34.978Z] in function ets_lru_test:'-test_limits/2-fun-5-'/2 (test/ets_lru_test.erl, line 294)
```

[1] https://github.com/apache/couchdb/issues/4397#issuecomment-1434764920

b8abb4a... by Nick Vatamaniuc <email address hidden>

Fix bad prometheus section name

Interval was not read from the correct section.

The tests had the correct section.

This should fix the prometheus flaky test [1]. This was apparent on MacOS
a bit more. The interval in the test was still 5 seconds instead of 1,
so it was right at the edge of timing out (5 seconds is the default
eunit timeout).

[1] https://github.com/apache/couchdb/issues/4397#issuecomment-1425027913

c0b8839... by Ronny Berndt

Only allow POST request for /{db}/_view_cleanup (#4449)

54879f9... by Nick V.

This enables configuring FIPS mode at runtime without the need for a custom build.

Issue: #4442

f677dd5... by Nick V.

Use persistent terms for features

This is intended to speed up feature checks.