Carlo Jelmini [Tue, 22 Feb 2022 18:43:35 +0000 (19:43 +0100)]
OAK-9704 AzureBlobStoreBackend: empty string as null in boolean property
When configured from OSGi using interpolation, an unset property can
default to an empty string. The empty string is interpreted as null, so
that the correct default is selected.
nit0906 [Wed, 23 Feb 2022 11:45:52 +0000 (17:15 +0530)]
OAK-9690 | Adding bringIndexUptoDate support for elastic index post offline reindexing (#492)
Thomas Mueller [Wed, 23 Feb 2022 09:56:43 +0000 (10:56 +0100)]
OAK-9699 Document Elastic Indexes
Thomas Mueller [Wed, 23 Feb 2022 09:52:29 +0000 (10:52 +0100)]
Merge pull request #497 from apache/OAK-9699
OAK-9699 Document Elastic Indexes
angela [Tue, 22 Feb 2022 20:06:09 +0000 (21:06 +0100)]
Merge branch 'trunk' of https://github.com/apache/jackrabbit-oak into trunk
angela [Tue, 22 Feb 2022 20:05:53 +0000 (21:05 +0100)]
OAK-9701 : Additional restrictions to simplify permission setup
Fabrizio Fortino [Tue, 22 Feb 2022 14:30:01 +0000 (15:30 +0100)]
OAK-9694: expose elastic stats in oak-index-stats and mbean (#498)
* OAK-9691 Improve fulltext query syntax support for ElasticSearch
* OAK-9687 (refactor): move common IndexMBean behaviour in oak-search
* OAK-9694: (refactoring) better handling of different formats in IndexPrinter
* OAK-9694: implemented ElasticIndexInfoProvider
* OAK-9694: add ElasticIndexMBean
* OAK-9694: IndexPrinter improvements
* OAK-9694: IndexPrinter code formatting
Co-authored-by: zjun <zjun@adobe.com>
Thomas Mueller [Tue, 22 Feb 2022 14:29:17 +0000 (15:29 +0100)]
Update oak-doc/src/site/markdown/query/elastic.md
Co-authored-by: chibulcuteanu <paul.chibulcuteanu@gmail.com>
Thomas Mueller [Tue, 22 Feb 2022 10:40:35 +0000 (11:40 +0100)]
OAK-9699 Document Elastic Indexes
Thomas Mueller [Tue, 22 Feb 2022 10:39:44 +0000 (11:39 +0100)]
OAK-9699 Document Elastic Indexes
Thomas Mueller [Tue, 22 Feb 2022 10:36:00 +0000 (11:36 +0100)]
Update oak-doc/src/site/markdown/query/elastic.md
Co-authored-by: chibulcuteanu <paul.chibulcuteanu@gmail.com>
Thomas Mueller [Tue, 22 Feb 2022 10:35:32 +0000 (11:35 +0100)]
Update oak-doc/src/site/markdown/query/elastic.md
Co-authored-by: chibulcuteanu <paul.chibulcuteanu@gmail.com>
Thomas Mueller [Fri, 18 Feb 2022 15:20:25 +0000 (16:20 +0100)]
OAK-9699 Document Elastic Indexes
Jun Zhang [Fri, 18 Feb 2022 13:25:44 +0000 (05:25 -0800)]
OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch (#494)
* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch
* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: improvement for code review
* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: change the index field to fixed one
* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: fixed the document storing proper outside the loop
* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: add tests to cover multiple boost fields query
* OAK-9696 Improve query syntax support for dynamicBoost in ElasticSearch: use fulltext field to store dynamic boost tags
Thomas Mueller [Thu, 17 Feb 2022 15:52:11 +0000 (16:52 +0100)]
Merge pull request #470 from klcodanr/OAK-9672
OAK-9672 - Adding checks to support setting null values in oak-commons JSON
anchela [Tue, 15 Feb 2022 10:35:44 +0000 (11:35 +0100)]
Merge pull request #485 from joerghoh/improvement/OAK-9612-no-runtime-exceptions
OAK-9612 Convert ReadOnlyBuilder's exceptions into RepositoryExcept…
Thomas Mueller [Tue, 15 Feb 2022 10:20:10 +0000 (11:20 +0100)]
OAK-9587 Add an attribute to enforce a strict index tag check (selectionPolicy)
Joerg Hoh [Fri, 11 Feb 2022 16:05:44 +0000 (17:05 +0100)]
OAK-9612 implement PR feedback
Fabrizio Fortino [Fri, 11 Feb 2022 13:40:34 +0000 (14:40 +0100)]
OAK-9687: expose additional elastic metrics (#487)
* OAK-9687 (refactor): move common IndexMBean behaviour in oak-search
* OAK-9687 (refactor): move tracker code out of the query package
* OAK-9687 (refactor): move more generic stuff out of the query package
* OAK-9687: add index path as label in metrics
* OAK-9687: revisited elastic metrics
* OAK-9687: removed PropertyUpdateCallback. Metrics are updated when the writer gets closed
* OAK-9687: reverted mbean changes (to be moved in a separate PR)
* OAK-9687: added more tests around metrics
Joerg Hoh [Fri, 11 Feb 2022 10:50:51 +0000 (11:50 +0100)]
OAK-9612 implement PR feedback and add test coverage
Jun Zhang [Fri, 11 Feb 2022 09:12:22 +0000 (01:12 -0800)]
OAK-9691 Improve fulltext query syntax support for ElasticSearch (#489)
Miroslav Smiljanic [Thu, 10 Feb 2022 15:53:50 +0000 (16:53 +0100)]
Merge pull request #488 from smiroslav/issue/OAK-9689
When BlobEndpoint is not configured use AccountName in connection string for Azure blob store connector
Miroslav Smiljanic [Thu, 10 Feb 2022 10:30:02 +0000 (11:30 +0100)]
Merge pull request #486 from jelmini/feature/sas_uri_support_2
OAK-9680 Add support for Azure SAS URIs to oak-segment-azure
smiroslav [Wed, 9 Feb 2022 16:00:01 +0000 (17:00 +0100)]
OAK-9689 Enable configuring connection string wiht SAS URI and account name
Carlo Jelmini [Wed, 2 Feb 2022 18:57:34 +0000 (19:57 +0100)]
OAK-9680 Add support for Azure SAS URIs to oak-segment-azure
Add support for SAS URIs to utility code.
Joerg Hoh [Tue, 8 Feb 2022 17:18:07 +0000 (18:18 +0100)]
OAK-9612 rename exception, add license headers
Miroslav Smiljanic [Tue, 8 Feb 2022 16:11:00 +0000 (17:11 +0100)]
Merge pull request #479 from jelmini/feature/sas_uri_support
OAK-9680 Add support for Azure SAS URIs to oak-segment-azure
Joerg Hoh [Tue, 8 Feb 2022 14:17:02 +0000 (15:17 +0100)]
SLING-9612 Convert ReadOnlyBuilder's exceptions into RepositoryExceptions
Thomas Mueller [Mon, 7 Feb 2022 08:45:25 +0000 (09:45 +0100)]
Merge pull request #484 from apache/OAK-9681-b
OAK-9681 oak-doc-railroad-macro build broken by h2db update
Thomas Mueller [Mon, 7 Feb 2022 08:15:13 +0000 (09:15 +0100)]
OAK-9681 oak-doc-railroad-macro build broken by h2db update
Fabrizio Fortino [Fri, 4 Feb 2022 10:11:31 +0000 (11:11 +0100)]
OAK-9685: bump testcontainers to v1.16.3 (#482)
Angela Fabregues [Fri, 4 Feb 2022 07:58:21 +0000 (08:58 +0100)]
OAK-9683 Bump elasticsearch version to 7.16.3 (#481)
* OAK-9683 Bump elasticsearch version to 7.16.3
* OAK-9683 Bump elasticsearch version to 7.16.3
* OAK-9683 Bump elasticsearch version to 7.16.3
* OAK-9683 Bump elasticsearch version to 7.16.3
Co-authored-by: Angela Fabregues <angela.fabregues@netcentric.biz>
Jun Zhang [Fri, 4 Feb 2022 07:55:26 +0000 (23:55 -0800)]
OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test co… (#469)
* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage
* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: remove some unsupported query test
* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: fix case insensitive query for dynamicBoostLite and adding tests
* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: fix dynamic boost lite query with space issue, explained as OR
* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: fix DynamicBoostLite to make it fully support the lucene fulltext query syntax
* OAK-9671 Increase dynamicBoost and dynamicBoostLite full-text test coverage: clean up tests
Fabrizio Fortino [Thu, 3 Feb 2022 14:25:22 +0000 (15:25 +0100)]
OAK-9684: avoid ingesting feature vectors with wrong size (#480)
* OAK-9684: avoid ingesting feature vectors with wrong size
* OAK-9684: add node path in wrong vector size warning
Carlo Jelmini [Mon, 31 Jan 2022 18:56:46 +0000 (19:56 +0100)]
OAK-9680 Add support for Azure SAS URIs to oak-segment-azure
Allow using Shared Access Signature URI to connect to Azure Storage.
nit0906 [Mon, 31 Jan 2022 17:06:51 +0000 (22:36 +0530)]
OAK-9665 | Unparseable date property causes entire node to fail indexing (#477)
Miroslav Smiljanic [Fri, 28 Jan 2022 12:09:15 +0000 (13:09 +0100)]
Merge pull request #443 from jelmini/issues/composite_multi_mounts
OAK-9553: Add config support for multiple mounts in CompositeNodeStore
Miroslav Smiljanic [Thu, 27 Jan 2022 14:17:08 +0000 (15:17 +0100)]
Merge pull request #472 from jelmini/issues/bugfix_ignored_mounts
OAK-9676 Mounted paths are not ignored anymore
Carlo Jelmini [Wed, 26 Jan 2022 14:51:55 +0000 (15:51 +0100)]
OAK-9676 Mounted paths are not ignored anymore
All mount paths should be considered when checking for mounts directly
under a path for composite node stores.
Carlo Jelmini [Mon, 24 Jan 2022 17:32:49 +0000 (18:32 +0100)]
Move PaxExam dependencies to dependencyManagement; fix oak-it-osgi
Carlo Jelmini [Thu, 13 Jan 2022 13:48:22 +0000 (14:48 +0100)]
Add PaxExam integration tests to oak-store-composite
nit0906 [Mon, 24 Jan 2022 10:34:45 +0000 (16:04 +0530)]
OAK-9662 | Support not equal condition in query from Index (#465)
angela [Fri, 21 Jan 2022 08:57:45 +0000 (09:57 +0100)]
OAK-9673 : JackrabbitAccessControlManagerDelegator should implement privilegeCollectionFromNames
OAK-9674 : AbstractAccessControlManager.privilegeCollectionFromNames should validate the passed privilege names
Dan Klco [Thu, 20 Jan 2022 15:58:12 +0000 (10:58 -0500)]
Updating as per suggested change
Thomas Mueller [Thu, 20 Jan 2022 07:38:31 +0000 (08:38 +0100)]
Update oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/json/JsonObject.java
Co-authored-by: Julian Reschke <julian.reschke@gmx.de>
Dan Klco [Wed, 19 Jan 2022 19:54:19 +0000 (14:54 -0500)]
OAK-9672 - Adding checks to support setting null values in oak-commons JSON
Thomas Mueller [Tue, 18 Jan 2022 17:43:33 +0000 (18:43 +0100)]
OAK-9668 Update H2DB dependency (#466)
* OAK-9668 Update H2DB dependency
* OAK-9668: Update H2DB dependency
Update dependency to 2.0.206
* OAK-9668 : move cast and binarySearch to DataTypeUtil
* OAK-9668: Update H2DB dependency
Use 1MB block size for test with RDBBlobStore on H2
* OAK-9668: Update H2DB dependency
Revert change of expected size. Disable test instead on H2
Co-authored-by: Marcel Reutegger <marcel.reutegger@gmail.com>
Co-authored-by: Stefan Egli <stefanegli@apache.org>
Thomas Mueller [Tue, 18 Jan 2022 15:08:45 +0000 (16:08 +0100)]
Merge pull request #467 from blackfor/OAK-9670
OAK-9670 : log at WARN level for fulltext query without index
blackfor [Tue, 18 Jan 2022 15:06:55 +0000 (15:06 +0000)]
OAK-9670 : drop message to WARN
blackfor [Tue, 18 Jan 2022 14:52:08 +0000 (14:52 +0000)]
OAK-9670 : fix whitespace
blackfor [Tue, 18 Jan 2022 14:49:51 +0000 (14:49 +0000)]
OAK-9670 : log at ERROR level for fulltext query without index
Fulltext queries cannot be handled by traversal, so we need to highlight prominently when a fulltext query has been issues but no appropriate index can be found.
Marcel Reutegger [Mon, 17 Jan 2022 07:32:54 +0000 (08:32 +0100)]
Merge pull request #464 from Joscorbe/oak-9564-fixed
OAK-9564 (Bugfixed): Make the renewLease mechanism a bit more tolerant against unexpected updates
Amrit Verma [Mon, 17 Jan 2022 06:30:41 +0000 (12:00 +0530)]
OAK-9649 - Improve multithreaded download retry strategy during indexing (#450)
* Fix resume issues and simplify tests
* Adding new tests
* Improving documentation
José Cordero [Sun, 16 Jan 2022 20:20:05 +0000 (21:20 +0100)]
OAK-9564: Allow to acquire recovered and disposed clusters.
José Cordero [Sun, 16 Jan 2022 19:51:31 +0000 (20:51 +0100)]
OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates
José Cordero [Sun, 16 Jan 2022 19:46:40 +0000 (20:46 +0100)]
OAK-9564: Improved logging for runtime id and allow to acquire recovered and disposed clusters.
anchela [Fri, 14 Jan 2022 09:09:22 +0000 (10:09 +0100)]
Merge pull request #458 from apache/OAK-9663
OAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalConfiguration
Thomas Mueller [Fri, 14 Jan 2022 08:51:14 +0000 (09:51 +0100)]
Merge pull request #459 from apache/OAK-9664
OAK-9664
angela [Wed, 12 Jan 2022 18:28:00 +0000 (19:28 +0100)]
OAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalConfiguration
Thomas Mueller [Wed, 12 Jan 2022 15:22:08 +0000 (16:22 +0100)]
OAK-9664
Reduce Slow Query threshold
Miroslav Smiljanic [Wed, 12 Jan 2022 14:25:48 +0000 (15:25 +0100)]
Merge pull request #429 from jelmini/issues/persistent-disk-cache
OAK-9197 Fix PersistentDiskCache cleanup
Miroslav Smiljanic [Wed, 12 Jan 2022 14:25:10 +0000 (15:25 +0100)]
Merge branch 'trunk' into issues/persistent-disk-cache
Miroslav Smiljanic [Wed, 12 Jan 2022 14:15:25 +0000 (15:15 +0100)]
Merge pull request #428 from jelmini/issues/persistent-redis-cache
OAK-9181 Fix PersistentRedisCache connection timeout configuration
Carlo Jelmini [Wed, 1 Dec 2021 11:07:43 +0000 (12:07 +0100)]
Bump org.apache.jackrabbit.oak.segment.remote.persistentcache to 1.0.0
Carlo Jelmini [Wed, 12 Jan 2022 13:46:12 +0000 (14:46 +0100)]
Bump org.apache.jackrabbit.oak.segment.remote.persistentcache to 1.0.0
angela [Wed, 12 Jan 2022 12:37:33 +0000 (13:37 +0100)]
OAK-9663 : Configuration option for allowed system-principals in ExternalPrincipalConfiguration
Carlo Jelmini [Mon, 10 Jan 2022 16:25:39 +0000 (17:25 +0100)]
Use OSGi R6 annotations
nit0906 [Tue, 11 Jan 2022 08:24:59 +0000 (13:54 +0530)]
OAK-9661 | Update solr version to 8.11.1 (#457)
Co-authored-by: Nitin Gupta <nitigup@adobe.com>
Marcel Reutegger [Mon, 10 Jan 2022 17:25:54 +0000 (18:25 +0100)]
Merge pull request #453 from mreutegg/OAK-9656
OAK-9656: Recovery runs mistakenly when system clock jumps ahead
Marcel Reutegger [Mon, 10 Jan 2022 15:49:33 +0000 (16:49 +0100)]
OAK-9656: Recovery runs mistakenly when system clock jumps ahead
Fail recovery with exception when it detects lease expired
Marcel Reutegger [Mon, 10 Jan 2022 14:50:59 +0000 (15:50 +0100)]
OAK-9656: Recovery runs mistakenly when system clock jumps ahead
Restructure code a bit as suggested by Stefan Egli
Marcel Reutegger [Mon, 10 Jan 2022 08:07:47 +0000 (09:07 +0100)]
OAK-9656: Recovery runs mistakenly when system clock jumps ahead
Marcel Reutegger [Fri, 7 Jan 2022 08:34:44 +0000 (09:34 +0100)]
OAK-9656: Recovery runs mistakenly when system clock jumps ahead
Let recovery proceed on expired lease for self recovery on startup
Fix some tests that run recovery with an expired lease
Marcel Reutegger [Thu, 6 Jan 2022 17:08:53 +0000 (18:08 +0100)]
OAK-9656: Recovery runs mistakenly when system clock jumps ahead
Proposed fix and enable test.
Marcel Reutegger [Thu, 6 Jan 2022 15:50:55 +0000 (16:50 +0100)]
OAK-9656: Recovery runs mistakenly when system clock jumps ahead
Test to reproduce problem.
Marcel Reutegger [Mon, 10 Jan 2022 14:34:47 +0000 (15:34 +0100)]
Merge pull request #456 from mreutegg/OAK-9655-next
OAK-9655: Release Oak 1.42.0
Marcel Reutegger [Mon, 10 Jan 2022 13:35:39 +0000 (14:35 +0100)]
OAK-9655: Release Oak 1.42.0
Set version to 1.43-SNAPSHOT for next development iteration
Marcel Reutegger [Mon, 10 Jan 2022 12:15:13 +0000 (13:15 +0100)]
Merge pull request #455 from apache/revert-359-OAK-9564
Revert "OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates"
Marcel Reutegger [Mon, 10 Jan 2022 10:58:36 +0000 (11:58 +0100)]
Revert "OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates"
Marcel Reutegger [Fri, 7 Jan 2022 14:47:04 +0000 (15:47 +0100)]
Merge pull request #454 from mreutegg/OAK-9658
OAK-9658: Update flapdoodle version to 3.2.6
Marcel Reutegger [Fri, 7 Jan 2022 14:24:41 +0000 (15:24 +0100)]
Merge pull request #359 from Joscorbe/OAK-9564
OAK-9564: Make the renewLease mechanism a bit more tolerant against unexpected updates
Marcel Reutegger [Fri, 7 Jan 2022 12:20:35 +0000 (13:20 +0100)]
OAK-9658: Update flapdoodle version to 3.2.6
Thomas Mueller [Fri, 7 Jan 2022 08:34:10 +0000 (09:34 +0100)]
Merge pull request #452 from apache/OAK-9653
OAK-9653 Adding the index tag option interferes with regex properties
stefan-egli [Thu, 6 Jan 2022 16:23:53 +0000 (17:23 +0100)]
OAK-9654 : Catch a guava NullPointerException, warn instead (#449)
* OAK-9535 related : trying to increase mvn memory
* OAK-9535 related : cleanup of erroneously pushed change
* OAK-9654 : more logging for a RuntimeException
* OAK-9654 : reduced to a warn instead of error+rethrow
José Cordero [Thu, 6 Jan 2022 16:11:59 +0000 (17:11 +0100)]
Reapply suggestions by Marcel, reverted for some reason.
José Andrés Cordero Benítez [Thu, 6 Jan 2022 16:03:00 +0000 (17:03 +0100)]
Merge branch 'apache:trunk' into OAK-9564
José Cordero [Thu, 6 Jan 2022 14:58:29 +0000 (15:58 +0100)]
Ensure the new leaseEnd time is applied, as UpdateOp.max() won't allow to set a lower time.
Thomas Mueller [Thu, 6 Jan 2022 14:13:33 +0000 (15:13 +0100)]
OAK-9653 Adding the index tag option interferes with regex properties
Miroslav Smiljanic [Thu, 6 Jan 2022 09:26:08 +0000 (10:26 +0100)]
Merge pull request #451 from smiroslav/issue/OAK-9655
OAK-9655 updated release notes
smiroslav [Thu, 6 Jan 2022 09:20:13 +0000 (10:20 +0100)]
OAK-9655 updated release notes
Mohit Kataria [Wed, 5 Jan 2022 14:12:25 +0000 (19:42 +0530)]
OAK-9651: Protection against very large queries (#446)
* OAK-9651: Protection against very large queries
Marcel Reutegger [Tue, 4 Jan 2022 10:48:32 +0000 (11:48 +0100)]
Merge pull request #445 from mreutegg/OAK-9648
OAK-9648: Jenkins build fails with timeout
nit0906 [Tue, 4 Jan 2022 05:50:42 +0000 (11:20 +0530)]
Support allowLeadingWildcard for elastic (#424)
* Support allowLeadingWildcard for elastic
Julian Reschke [Mon, 3 Jan 2022 15:33:27 +0000 (16:33 +0100)]
Merge pull request #447 from apache/OAK-9652
OAK-9652: Update Logback version to 1.2.10
Julian Reschke [Mon, 3 Jan 2022 14:34:46 +0000 (15:34 +0100)]
OAK-9652: Update Logback version to 1.2.10
Fabrizio Fortino [Thu, 23 Dec 2021 15:14:02 +0000 (16:14 +0100)]
OAK-9647: oak-search-elastic: nullCheckEnabled and notNullCheckEnabled queries not working as expected (#444)
* OAK-9647: remove duplicate (unused) constants
* OAK-9647: remove duplicate propertyExistenceQuery, already present in common tests
* OAK-9647: remove unneeded not null check on index definition
* OAK-9647: no need to index nullProps and notNullProps in elastic. Move propertyExistence test in common tests
* OAK-9647: handle notNull and null queries with exist/mustNotExist
* OAK-9647: improved tests
Thomas Mueller [Thu, 23 Dec 2021 13:33:40 +0000 (14:33 +0100)]
OAK-8910 Improve OAK Lucene Index Documentation
Marcel Reutegger [Mon, 20 Dec 2021 14:43:49 +0000 (15:43 +0100)]
OAK-9644: Flaky test due to HashSet (#442)
* OAK-9644: Flaky test due to HashSet
Use sorted stream as suggested by Carlo Jelmini
PR originally proposed by LeoYimingLi, thx!
Marcel Reutegger [Fri, 17 Dec 2021 16:13:01 +0000 (17:13 +0100)]
OAK-9648: Jenkins build fails with timeout
Dispose repository after test
Carlo Jelmini [Mon, 1 Nov 2021 08:37:14 +0000 (09:37 +0100)]
OAK-9553: Add config support for multiple mounts in CompositeNodeStore
Add MountInfoConfig configuration factory, which can be used to
configure multiple read-only mounts.
MountInfoProviderService can now be configured with the list of expected
mounts, so it can wait for all of them before registering a
MountInfoProvider.
For backward-compatibility, MountInfoProviderService can still be used
to configure a single read-only mount, but all such properties are now
marked as deprecated.