Merge branch '1805-respect-collation-setting-reduce-group'

COUCHDB-1805