jcoglan opened a new pull request, #5486: URL: https://github.com/apache/couchdb/pull/5486
## Overview We discovered that `ken` was not indexing `erlang` design documents in the background, because it was relying on the old environment variables to determine that the native query server is enabled. This patch adds `erlang` to its list of allowed languages, if the native query server is enabled. ## Testing recommendations I checked this by creating a database with these two design docs in it: ```json { "views": { "by-n": { "map": "function (doc) { emit(doc.n) }" } } } { "language": "erlang", "views": { "by-n": { "map": "fun({Doc}) -> N = proplists:get_value(<<\"n\">>, Doc, null), Emit(N, null) end." } } } ``` Before this fix, the `_info` endpoint for each doc shows that `updates_pending` remains high for the Erlang view, when the JS one goes to zero. The index files on disk for the Erlang view do not get updated when docs are added to the DB. After this fix, `_info` on either view shows `updates_pending` eventually going to zero, and the files on disk get updated. ## Checklist - [ ] Code is written and works correctly - [ ] Changes are covered by tests - [ ] Any new configurable parameters are documented in `rel/overlay/etc/default.ini` - [ ] Documentation changes were made in the `src/docs` folder - [ ] Documentation changes were backported (separated PR) to affected branches -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org