Skip to content

Conversation

@pgj
Copy link
Contributor

@pgj pgj commented Nov 25, 2025

Chase the release of the brand new 3.0.0 version of Clouseau aka. ZIOSE (ZIO "Search Engine") and make it the default onwards. While this is a drop-in replacement for 2.x, note that it is based on completely different foundation, libraries and build system, as well as Java 21 and G1 as the default garbage collector — update the dev/run script to make it work with both 2.x and 3.x in response to that.

This warrants that Clouseau 2.x will keep working from both binary and source, albeit it has now been deprecated.

Testing recommendations

Other than exercising the change in the CI, one could manually verify it. Configure with Clouseau enabled (UNIX-like systems, including macOS) and be sure to have Java 21 on the path:

./configure --with-clouseau

or on Windows:

.\configure.ps1 -WithClouseau

Note that you may have to remove any older local installation of Clouseau before proceeding:

rm -rf clouseau

Run the Mango tests (implies using Clouseau):

make mango-test

Note that there shall be only a single skipped test in this scenario. Anything more than that may signal that Clouseau has not been fully configured.

Ran 389 tests in 40.212s

OK (skipped=1)

Run the Elixir search tests (implies using Clouseau):

make elixir-search

This should all work with Erlang/OTP 26, 27, or later.

To verify if logging is still working, you can take a look at the contents of the dev/logs/clouseau1.log file after Clouseau has been started up alongside CouchDB, e.g.:

dev/run -a adm:pass -n 1 --with-clouseau

Checklist

  • Code is written and works correctly
  • Changes are covered by tests

pgj added 2 commits November 25, 2025 16:15
Chase the release of the brand new 3.0.0 version of Clouseau aka.
ZIOSE (ZIO "Search Engine") and make it the default onwards.
While this is a drop-in replacement for 2.x, note that it is based
on completely different foundation, libraries and build system, as
well as Java 21 and G1 as the default garbage collector -- update
the `dev/run` script to make it work with both 2.x and 3.x in
response to that.

This warrants that Clouseau 2.x will keep working from both binary
and source, albeit it has now been deprecated.
@pgj pgj force-pushed the chore/clouseau/update-to-3.0.0 branch from 21557e4 to 0f9aa95 Compare November 25, 2025 21:45
pgj added a commit to pgj/couchdb-glazier that referenced this pull request Nov 25, 2025
The use of Clouseau 2.x is not recommended any longer.  We are in
the transition over to Clouseau 3.x instead, which works with Java
21 at the moment.  See [1] for further information.

[1] apache/couchdb#5761
@pgj pgj force-pushed the chore/clouseau/update-to-3.0.0 branch from 8db069d to 3164777 Compare November 25, 2025 22:27
pgj added a commit to pgj/couchdb-ci that referenced this pull request Nov 26, 2025
The use of Clouseau 2.x is not recommended any longer.  We are in
the transition over to Clouseau 3.x instead, which works with Java
21 at the moment.  See [1] for further information.

[1] apache/couchdb#5761
pgj added a commit to pgj/couchdb-glazier that referenced this pull request Nov 26, 2025
The use of Clouseau 2.x is not recommended any longer.  We are in
the transition over to Clouseau 3.x instead, which works with Java
21 at the moment.  See [1] for further information.

[1] apache/couchdb#5761
@pgj
Copy link
Contributor Author

pgj commented Nov 28, 2025

I am closing this PR in favor of #5794. It required a number of changes to the Jenkinsfile which are picked up only if I work in a branch at the main repository.

@pgj pgj closed this Nov 28, 2025
@pgj pgj deleted the chore/clouseau/update-to-3.0.0 branch November 28, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant