This is an automated email from the ASF dual-hosted git repository.
ab pushed a change to branch jira/solr-15232
in repository https://gitbox.apache.org/repos/asf/solr.git.
from a5a3c7e SOLR-15232: Hook up the init / shutdown scripts, start
writing unit tests.
new 2cdfc69 SOLRR-15232: Add moroe commands to the DSL, hook up the CC
shutdown, add unit tests.
add dd22ed1 SOLR-15244 Switch File to Path (#10)
add 8c1ecda LUCENE-9650: errorprone plugin doesn't work on jdk16. A
different workaround that keeps the dependency.
add 5689101 SOLR-15244 partial revert of unintended behaviour change
add ef5fb6d Point jdk.java.net instead of OracleJDK page from README (#46)
add cae19f8 Add a CHANGES entry for gradle build (#48)
add 507f791 SOLR-15291: ref-guide note clarifying 'safe' way to do
De-Duplication w/SignatureUpdateProcessorFactory in SolrCloud
add 85828e3 SOLR-15291: cleanup Unused imports
add 3a533aa SOLR-15273: Distributed Group Query supports rename unique
key field name (#35)
add 06b0df0 Enable ecj linting again.
add e1ac9ec SOLR-15224: Disable the last incompatible source file so that
it's no longer part of the compiled set of sources (for ecj).
add 4498649 SOLR-15299, SOLR-15224: Remove inaccessible test sources hack.
add ed9a6ff SOLR-15299: make ecj work again.
add 7ab60a2 SOLR-15191: Fix testFacetEnumSearch
add a946628 SOLR-15154: Document new options for credentials (#14)
add 9903d00 SOLR-15155: Let CloudHttp2SolrClient accept an external
Http2SolrClient Builder (#15)
add e0bf58a SOLR-15249: move solr/CHANGES.txt entry from 9.0.0 to 8.9.0
section (#49)
add 5fd420e SOLR-13608: Ensure backup tests avoid SimpleText codec
add 48fc93d SOLR-15243: Update MoreLikeThis docs (#12)
add ab6e695 SOLR-15244 Failing tests
add ca034f1 SOLR-15244: correct unused imports.
add 7af1cbb SOLR-15302: Task ordering can be incorrect for gradlew clean.
add c7ffbf4 SOLR-15292: An ERROR is logged if
SignatureUpdateProcessorFactory is used in SolrCloud cluster in a way that is
known to be problematic with multiple replicas
add ebe6e4e SOLR-15292: SignatureUpdateProcessorFactory will fail to
initialize if it is used in a SolrCloud cluster in a way that is known to be
problematic with multiple replicas
add caf8cbc Ref Guide: fix bad link and list item out of order
add 00bc710 SOLR-15208: Add the countDist aggregation to the stats, facet
and timeseries Streaming Expressions
add d58b934 SOLR-15208: Update CHANGES.txt
add 68c93e8 SOLR-15225: maintain existing test naming conventions
(contrib/analytics, contrib/ltr) (#9)
add af33cff Fix typo in audit example JSON (#56)
add 6fd6ad9 SOLR-15274: QueryElevationComponent, no data dir (#37)
add 1a922dc SOLR-15258: ConfigSetService add CRUD operations, subsume
ZkConfigManager (#23)
add 291f9b3 SOLR-15288: Hardening NODEDOWN event event in PRS mode
add 59a5913 SOLR-11921: Move "cursorMark" logic from QueryComponent to
SearchHandler so it can work with things like QueryElevationComponent that
modify the SortSpec in prepare(), as well as possible custom "search"
components other then QueryComponent
add def7f47 SOLR-15233: Set doAs in ConfigurableInternodeAuthHadoopPlugin
add 06fad78 SOLR-13608: Sync on TrackingBackupRepo NL changes (#59)
new 32e362f Merge branch 'main' into jira/solr-15232
new 0ea9fb8 SOLR-15232: Fix precommit errors.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 2 +-
build.gradle | 4 +-
gradle/hacks/{gradle.gradle => wipe-temp.gradle} | 10 +-
.../inaccessible-test-sources.gradle | 37 -
gradle/validation/ecj-lint.gradle | 2 +-
gradle/validation/error-prone.gradle | 34 +-
solr/CHANGES.txt | 30 +-
.../solr/handler/clustering/EngineContext.java | 3 +-
.../apache/solr/cloud/CloudConfigSetService.java | 146 ----
.../src/java/org/apache/solr/cloud/CloudUtil.java | 3 +-
.../solr/cloud/DistributedClusterStateUpdater.java | 2 +-
.../src/java/org/apache/solr/cloud/Overseer.java | 2 +-
.../OverseerCollectionConfigSetProcessor.java | 2 +-
.../cloud/OverseerConfigSetMessageHandler.java | 55 +-
.../org/apache/solr/cloud/RecoveryStrategy.java | 5 +-
.../java/org/apache/solr/cloud/SolrZkServer.java | 29 +-
.../core/src/java/org/apache/solr/cloud/ZkCLI.java | 14 +-
.../org/apache/solr/cloud/ZkConfigSetService.java | 324 +++++++++
.../java/org/apache/solr/cloud/ZkController.java | 100 +--
.../apache/solr/cloud/ZkSolrResourceLoader.java | 3 +-
.../solr/cloud/api/collections/BackupCmd.java | 2 +-
.../solr/cloud/api/collections/CollApiCmds.java | 2 +-
.../api/collections/CollectionHandlingUtils.java | 6 +-
.../cloud/api/collections/CreateCollectionCmd.java | 53 +-
.../cloud/api/collections/DeleteCollectionCmd.java | 2 +-
.../OverseerCollectionMessageHandler.java | 10 +-
.../solr/cloud/api/collections/RestoreCmd.java | 12 +-
.../apache/solr/cloud/overseer/NodeMutator.java | 18 +-
.../org/apache/solr/core/ConfigSetService.java | 318 ++++++---
.../java/org/apache/solr/core/CoreContainer.java | 40 +-
.../org/apache/solr/core/DirectoryFactory.java | 2 +-
.../solr/core/FileSystemConfigSetService.java | 148 ++++
.../org/apache/solr/core/MMapDirectoryFactory.java | 9 +-
.../apache/solr/core/NIOFSDirectoryFactory.java | 12 +-
.../solr/core/NRTCachingDirectoryFactory.java | 11 +-
.../src/java/org/apache/solr/core/SolrConfig.java | 3 +-
.../org/apache/solr/core/SolrResourceLoader.java | 31 +-
.../apache/solr/core/StandardDirectoryFactory.java | 7 +-
.../src/java/org/apache/solr/core/ZkContainer.java | 7 +-
.../org/apache/solr/core/backup/BackupManager.java | 63 +-
.../backup/repository/BackupRepositoryFactory.java | 12 +-
.../solr/core/snapshots/SolrSnapshotsTool.java | 56 +-
.../apache/solr/filestore/DistribPackageStore.java | 47 +-
.../org/apache/solr/filestore/PackageStoreAPI.java | 22 +-
.../java/org/apache/solr/handler/CatStream.java | 11 +-
.../java/org/apache/solr/handler/IndexFetcher.java | 54 +-
.../apache/solr/handler/PingRequestHandler.java | 26 +-
.../apache/solr/handler/ReplicationHandler.java | 11 +-
.../solr/handler/admin/ConfigSetsHandler.java | 126 +---
.../solr/handler/component/QueryComponent.java | 10 +-
.../handler/component/QueryElevationComponent.java | 300 ++++-----
.../solr/handler/component/SearchHandler.java | 14 +
.../apache/solr/packagemanager/PackageUtils.java | 7 +-
.../java/org/apache/solr/schema/IndexSchema.java | 6 +-
.../org/apache/solr/schema/IndexSchemaFactory.java | 38 +-
.../org/apache/solr/schema/ManagedIndexSchema.java | 3 +-
.../java/org/apache/solr/schema/SchemaManager.java | 3 +-
.../apache/solr/schema/ZkIndexSchemaReader.java | 3 +-
.../java/org/apache/solr/search/CursorMark.java | 17 +-
.../StoredFieldsShardResponseProcessor.java | 4 +
.../ConfigurableInternodeAuthHadoopPlugin.java | 67 +-
.../org/apache/solr/security/HadoopAuthPlugin.java | 13 +-
.../org/apache/solr/security/KerberosPlugin.java | 22 +-
.../processor/SignatureUpdateProcessorFactory.java | 17 +-
.../src/java/org/apache/solr/util/SolrCLI.java | 15 +-
.../org/apache/solr/util/scripting/Script.java | 743 +++++++++++++++------
.../apache/solr/util/scripting}/package-info.java | 7 +-
.../conf/solrconfig-analytics-query.xml | 32 -
.../conf/solrconfig-collapseqparser.xml | 32 -
.../conf/solrconfig-dedup-overwrites.xml | 81 +++
.../collection1/conf/solrconfig-deeppaging.xml | 15 +
.../solr/collection1/conf/solrconfig-elevate.xml | 13 -
.../solr/collection1/conf/solrconfig-minhash.xml | 32 -
.../collection1/conf/solrconfig-plugcollector.xml | 32 -
.../solr/collection1/conf/solrconfig-tlog.xml | 24 -
.../solr/collection1/conf/solrconfig.xml | 32 -
.../conf/schema.xml | 8 +-
.../solr/configsets/dedup}/conf/solrconfig.xml | 32 +-
solr/core/src/test-files/solr/initScript.txt | 19 +
solr/core/src/test-files/solr/initScript2.txt | 4 +
.../security/hadoop_kerberos_authz_config.json | 15 +-
solr/core/src/test-files/solr/shutdownScript.txt | 1 +
.../apache/solr/AnalysisAfterCoreReloadTest.java | 23 +-
.../src/test/org/apache/solr/CursorPagingTest.java | 180 ++++-
.../solr/TestCursorMarkWithoutUniqueKey.java | 5 +-
.../org/apache/solr/TestDistributedGrouping.java | 3 +
...java => TestLuceneIndexBackCompat.java.ignored} | 0
.../client/solrj/impl/Krb5HttpClientUtils.java | 66 ++
.../apache/solr/cloud/DistribCursorPagingTest.java | 220 ++++--
.../solr/cloud/MoveReplicaHDFSFailoverTest.java | 4 +-
.../org/apache/solr/cloud/NodeMutatorTest.java | 2 +-
.../OverseerCollectionConfigSetProcessorTest.java | 1 +
.../test/org/apache/solr/cloud/OverseerTest.java | 2 +-
.../org/apache/solr/cloud/TestConfigSetsAPI.java | 40 +-
.../solr/cloud/TestConfigSetsAPIZkFailure.java | 11 +-
.../src/test/org/apache/solr/cloud/ZkCLITest.java | 12 +-
.../org/apache/solr/cloud/ZkControllerTest.java | 3 +-
.../HdfsCloudIncrementalBackupTest.java | 2 +
.../LocalFSCloudIncrementalBackupTest.java | 2 +
.../SimpleCollectionCreateDeleteTest.java | 29 +-
.../cloud/api/collections/TestCollectionAPI.java | 4 +-
.../collections/TestHdfsCloudBackupRestore.java | 10 +-
.../collections/TestLocalFSCloudBackupRestore.java | 6 +-
.../solr/cloud/hdfs/HDFSCollectionsAPITest.java | 4 +-
.../apache/solr/cloud/hdfs/HdfsRecoveryZkTest.java | 4 +-
.../apache/solr/core/AlternateDirectoryTest.java | 5 +-
.../org/apache/solr/core/TestCoreContainer.java | 60 ++
.../HdfsBackupRepositoryIntegrationTest.java | 2 +
.../core/snapshots/TestSolrCloudSnapshots.java | 2 +
.../solr/core/snapshots/TestSolrCoreSnapshots.java | 2 +
.../org/apache/solr/handler/TestConfigReload.java | 4 +-
.../solr/handler/TestIncrementalCoreBackup.java | 2 +
.../solr/handler/TestReplicationHandlerBackup.java | 2 +
.../solr/handler/TestSnapshotCoreBackup.java | 2 +
.../solr/handler/TestStressThreadBackup.java | 2 +-
.../solr/handler/component/BadComponentTest.java | 6 +
.../DistributedQueryElevationComponentTest.java | 15 -
.../component/QueryElevationComponentTest.java | 126 +++-
.../test/org/apache/solr/schema/EnumFieldTest.java | 5 +-
.../org/apache/solr/search/CursorMarkTest.java | 20 +-
.../search/join/CrossCollectionJoinQueryTest.java | 5 +-
.../apache/solr/security/hadoop/KerberosUtils.java | 3 +-
.../TestRuleBasedAuthorizationWithKerberos.java | 51 +-
.../hadoop/TestSolrCloudWithHadoopAuthPlugin.java | 7 +-
.../SignatureUpdateProcessorFactoryTest.java | 43 +-
.../update/processor/TestCloudDeduplication.java | 146 ++++
.../processor/TestPartialUpdateDeduplication.java | 2 +-
.../apache/solr/util/scripting/ScriptingTest.java | 106 ++-
.../solr/configsets/_default/conf/solrconfig.xml | 1 -
.../conf/solrconfig.xml | 1 -
solr/solr-ref-guide/src/audit-logging.adoc | 2 +-
.../src/basic-authentication-plugin.adoc | 10 +
solr/solr-ref-guide/src/de-duplication.adoc | 39 +-
solr/solr-ref-guide/src/format-of-solr-xml.adoc | 2 +-
.../src/hadoop-authentication-plugin.adoc | 10 +
.../src/major-changes-in-solr-9.adoc | 5 +
solr/solr-ref-guide/src/morelikethis.adoc | 608 +++++++++++++++--
solr/solr-ref-guide/src/other-parsers.adoc | 49 +-
.../src/solr-control-script-reference.adoc | 2 +-
.../src/the-query-elevation-component.adoc | 6 +-
.../client/solrj/impl/CloudHttp2SolrClient.java | 34 +-
.../client/solrj/impl/Krb5HttpClientBuilder.java | 13 +-
.../solrj/impl/ZkClientClusterStateProvider.java | 26 -
.../java/org/apache/solr/client/solrj/io/Lang.java | 9 +-
.../solr/client/solrj/io/stream/FacetStream.java | 4 +-
.../solr/client/solrj/io/stream/StatsStream.java | 2 +
.../client/solrj/io/stream/TimeSeriesStream.java | 2 +
.../io/stream/metrics/CountDistinctMetric.java | 77 +++
.../org/apache/solr/common/cloud/SolrZkClient.java | 4 +-
.../apache/solr/common/cloud/ZkConfigManager.java | 230 -------
.../solr/common/cloud/ZkMaintenanceUtils.java | 20 +-
.../apache/solr/common/cloud/ZkStateReader.java | 8 -
.../ref_guide_examples/ZkConfigFilesTest.java | 23 +-
.../impl/CloudHttp2SolrClientBuilderTest.java | 54 +-
.../client/solrj/impl/CloudSolrClientTest.java | 43 --
.../solrj/impl/TestCloudSolrClientConnections.java | 8 +-
.../org/apache/solr/client/solrj/io/TestLang.java | 2 +-
.../solrj/io/stream/StreamExpressionTest.java | 45 +-
.../cloud/PerReplicaStatesIntegrationTest.java | 158 +++++
...figManager.java => TestZkConfigSetService.java} | 50 +-
.../src/java/org/apache/solr/SolrTestCase.java | 12 +
.../apache/solr/cloud/MiniSolrCloudCluster.java | 9 +-
.../org/apache/solr/cloud/SolrCloudTestCase.java | 3 +-
.../apache/solr/core/MockFSDirectoryFactory.java | 6 +-
164 files changed, 4149 insertions(+), 2268 deletions(-)
rename gradle/hacks/{gradle.gradle => wipe-temp.gradle} (87%)
delete mode 100644 gradle/solr-tlp-migration/inaccessible-test-sources.gradle
delete mode 100644
solr/core/src/java/org/apache/solr/cloud/CloudConfigSetService.java
create mode 100644
solr/core/src/java/org/apache/solr/cloud/ZkConfigSetService.java
create mode 100644
solr/core/src/java/org/apache/solr/core/FileSystemConfigSetService.java
copy solr/{contrib/extraction/src/java/org/apache/solr/handler/extraction =>
core/src/java/org/apache/solr/util/scripting}/package-info.java (80%)
create mode 100644
solr/core/src/test-files/solr/collection1/conf/solrconfig-dedup-overwrites.xml
copy solr/core/src/test-files/solr/configsets/{cloud-managed-upgrade =>
dedup}/conf/schema.xml (86%)
copy solr/{contrib/jaegertracer-configurator/src/test-files/solr/collection1
=> core/src/test-files/solr/configsets/dedup}/conf/solrconfig.xml (69%)
create mode 100644 solr/core/src/test-files/solr/initScript.txt
create mode 100644 solr/core/src/test-files/solr/initScript2.txt
create mode 100644 solr/core/src/test-files/solr/shutdownScript.txt
rename
solr/core/src/test/org/apache/solr/backcompat/{TestLuceneIndexBackCompat.java
=> TestLuceneIndexBackCompat.java.ignored} (100%)
create mode 100644
solr/core/src/test/org/apache/solr/client/solrj/impl/Krb5HttpClientUtils.java
create mode 100644
solr/core/src/test/org/apache/solr/update/processor/TestCloudDeduplication.java
create mode 100644
solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/metrics/CountDistinctMetric.java
delete mode 100644
solr/solrj/src/java/org/apache/solr/common/cloud/ZkConfigManager.java
create mode 100644
solr/solrj/src/test/org/apache/solr/common/cloud/PerReplicaStatesIntegrationTest.java
rename
solr/solrj/src/test/org/apache/solr/common/cloud/{TestZkConfigManager.java =>
TestZkConfigSetService.java} (82%)