Fixed this (Running example in user-managed mode on Windows): https://github.com/apache/solr/pull/4074
Also fixed Windows build failure: https://github.com/apache/solr/pull/4072 On Thu, Jan 22, 2026 at 11:22 AM Rahul Goswami <[email protected]> wrote: > Thanks for the PR Eric. I thought I would get to this bug in the AM, and > you beat me to it! > I gave the fix in the PR a try, and the behavior is still the same. So it > needs something more. > I had fixed a similar bug in https://github.com/apache/solr/pull/3347 . > > Checking further to see what this one needs. > > On Thu, Jan 22, 2026 at 6:45 AM David Eric Pugh via dev < > [email protected]> wrote: > >> I asked Claude for help in comparing windows to unix script and got this >> PR: >> https://github.com/apache/solr/pull/4070 >> WDYT Rahul on the fix? >> >> >> >> On Thursday, January 22, 2026 at 01:37:44 AM EST, Rahul Goswami < >> [email protected]> wrote: >> >> Ran with Java 21. Summary below: >> >> On Windows: >> ========== >> 1) Starting an example in user-managed mode still launches in cloud mode >> (solr start -e techproducts --user-managed) >> Cross checked on MacOS. Standalone mode is working fine there. >> A closer look on Windows reveals the "--user-managed" option is not >> getting passed when expanding the command line for examples - seems like a >> bug specific to when running examples. >> >> 2) smokeTester fails immediately on Windows even before reaching the >> actual >> tests. The python script doesn't seem to support Windows. >> >> >> On WSL (with Ubuntu kernel) >> ======================= >> 1) Ran smokeTester twice and it failed both times. Since a different set >> of >> tests failed during the two runs, I am guessing these are just flakey ? >> >> ./gradlew :solr:solrj:test --tests "org.apache.solr.client.solrj.impl. >> *LB2SolrClientTest*.testSimple" "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 >> -XX:+UseParallelGC -XX:ActiveProcessorCount=1 >> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=33FCB30C6FFE782C >> -Ptests.useSecurityManager=true -Ptests.badapples=false >> -Ptests.file.encoding=UTF-8 >> >> ./gradlew :solr:solrj:test --tests "org.apache.solr.client.solrj.impl. >> *LB2SolrClientTest*" "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 >> -XX:+UseParallelGC -XX:ActiveProcessorCount=1 >> -XX:ReservedCodeCacheSize=120m" -Ptests.seed=33FCB30C6FFE782C >> -Ptests.useSecurityManager=true -Ptests.badapples=false >> -Ptests.file.encoding=UTF-8 >> >> ./gradlew :solr:solrj:test --tests "org.apache.solr.client.solrj.impl. >> *CloudSolrClientCacheTest*.testStaleStateRetryWaitsAfterSkipFailure" >> "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC >> -XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" >> -Ptests.seed=33FCB30C6FFE782C -Ptests.useSecurityManager=true >> -Ptests.badapples=false -Ptests.file.encoding=UTF-8 >> >> ./gradlew :solr:modules:s3-repository:test --tests "org.apache.solr.s3. >> *S3IncrementalBackupTest*.testSimple" >> "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC >> -XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" >> -Ptests.seed=D5EE320823DF786E -Ptests.useSecurityManager=true >> -Ptests.badapples=false -Ptests.file.encoding=UTF-8 >> >> I am going to have to give this a -1 mainly due to lack of confidence on >> Windows behavior >> >> -1 (non-binding) >> >> On Wed, Jan 21, 2026 at 5:34 PM Anshum Gupta <[email protected]> wrote: >> >> > Hi Alejandro, >> > >> > Yes, I meant different JDK providers and OS combinations. >> > >> > Solr 10 server has a minimum Java version requirement of JDK21. >> > >> > On Wed, Jan 21, 2026 at 2:28 PM Arrieta, Alejandro < >> > [email protected]> wrote: >> > >> > > Hello Anshum, >> > > >> > > The Solr 10 dev doc says to use java 21 to compile and the Solr 10 >> user >> > doc >> > > says to use java 21 to execute. >> > > When you say: >> > > "variety of machines and JVMs." >> > > you mean different providers of JDK like oracle, temurin, etc. or >> other >> > jdk >> > > versions? Which JDK versions are supported in Solr 10 to test >> execution >> > on >> > > them too. >> > > >> > > Kind Regards, >> > > Alejandro Arrieta >> > > >> > > On Wed, Jan 21, 2026 at 7:17 PM Anshum Gupta <[email protected]> >> wrote: >> > > >> > > > Hi everyone, >> > > > >> > > > Thank you for your patience with the multiple release candidates for >> > > > releasing Solr 10. >> > > > >> > > > Please vote for *Release Candidate 3* for Solr 10.0.0 >> > > > >> > > > If you already voted for RC2, please note that there are *no code >> > changes >> > > > in this RC as compared to the previous one* and it'd be great if you >> > > could >> > > > cast your vote for this one as well. >> > > > >> > > > *An important note for non-committers:* Your vote counts! Please >> test >> > and >> > > > vote for this RC and help us in releasing a candidate that's tested >> by >> > > > multiple people, across multiple platforms, on a variety of machines >> > and >> > > > JVMs. >> > > > >> > > > Thank you for your vote and involvement in the Apache Solr project. >> > > > >> > > > The artifacts can be downloaded from: >> > > > >> > > > >> > > >> > >> https://dist.apache.org/repos/dist/dev/solr/solr-10.0.0-RC3-rev-016965ccedaea5bb1261bd772bc4dadd528abbac >> > > > >> > > > You can run the smoke tester directly with this command: >> > > > >> > > > python3 -u dev-tools/scripts/smokeTestRelease.py \ >> > > > >> > > > >> > > >> > >> https://dist.apache.org/repos/dist/dev/solr/solr-10.0.0-RC3-rev-016965ccedaea5bb1261bd772bc4dadd528abbac >> > > > >> > > > You can build a release-candidate of the official docker images >> (full & >> > > > slim) using the following command: >> > > > >> > > > SOLR_DOWNLOAD_SERVER= >> > > > >> > > > >> > > >> > >> https://dist.apache.org/repos/dist/dev/solr/solr-10.0.0-RC3-rev-016965ccedaea5bb1261bd772bc4dadd528abbac/solr >> > > > && >> > > > < >> > > >> > >> https://dist.apache.org/repos/dist/dev/solr/solr-10.0.0-RC3-rev-016965ccedaea5bb1261bd772bc4dadd528abbac/solr&& >> > > > >> > > > \ >> > > > docker build >> > > $SOLR_DOWNLOAD_SERVER/10.0.0/docker/Dockerfile.official-full >> > > > \ >> > > > --build-arg SOLR_DOWNLOAD_SERVER=$SOLR_DOWNLOAD_SERVER \ >> > > > -t solr-rc:10.0.0-3 && \ >> > > > docker build >> > > $SOLR_DOWNLOAD_SERVER/10.0.0/docker/Dockerfile.official-slim >> > > > \ >> > > > --build-arg SOLR_DOWNLOAD_SERVER=$SOLR_DOWNLOAD_SERVER \ >> > > > -t solr-rc:10.0.0-3-slim >> > > > >> > > > The >> > > > *vote will be open for at least 5 days i.e. until 2026-01-26 23:00 >> > UTC.* >> > > > [ ] +1 approve >> > > > [ ] +0 no opinion >> > > > [ ] -1 disapprove (and reason why) >> > > > >> > > > Here is my +1. >> > > > SUCCESS! [0:48:11.146422] >> > > > >> > > >> > >> > >
