Dan Klco [Mon, 7 Mar 2022 22:23:36 +0000 (17:23 -0500)]
OAK-9715 - Fixing IndexDefMergerUtils to set latest product index version for merges property on merged indexes
Miroslav Smiljanic [Fri, 4 Mar 2022 16:55:13 +0000 (17:55 +0100)]
Merge pull request #506 from kunal3112/sas-uri
OAK-9712 - Add support for Azure SAS URIs in oak-run
Kunal Shubham [Fri, 4 Mar 2022 11:05:22 +0000 (16:35 +0530)]
Improve exception handling
Kunal Shubham [Mon, 28 Feb 2022 08:21:42 +0000 (13:51 +0530)]
Add support for Azure SAS URIs in oak-run
Konrad Windszus [Sat, 26 Feb 2022 21:03:43 +0000 (22:03 +0100)]
OAK-9695 correctly evaluate property type from definition during protected check
Matt Ryan [Fri, 25 Feb 2022 17:57:47 +0000 (10:57 -0700)]
Merge pull request #348 from adamcin/OAK-9548-azure-put-block-blockId-to-blockid
OAK-9548 changed the blockId parameter to match blockid parameter in azure Put Block API spec
Marcel Reutegger [Fri, 25 Feb 2022 16:11:40 +0000 (17:11 +0100)]
Merge pull request #505 from mreutegg/OAK-9709
OAK-9709: PropertyDelegate.isProtected() throws NPE when parent is stale
Marcel Reutegger [Fri, 25 Feb 2022 14:44:13 +0000 (15:44 +0100)]
OAK-9709: PropertyDelegate.isProtected() throws NPE when parent is stale
blackfor [Fri, 25 Feb 2022 13:40:49 +0000 (13:40 +0000)]
OAK-9708 : ignore index tag property when logging warn (#504)
* [maven-release-plugin] copy for tag jackrabbit-oak-1.40.0
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/tags/jackrabbit-oak-1.40.0@
1890279 13f79535-47bb-0310-9956-
ffa450edef68
* GRANITE-38422 : ignore property restrictions beginning with : in regex
warn
* OAK-9708 : improve tests to actually use index tag
* OAK-9708 : remove tab
Co-authored-by: Miroslav Smiljanic <miroslav@apache.org>
Co-authored-by: Tom Blackford <tomblackford@Toms-MacBook-Pro.local>
Co-authored-by: tomblackford <tomblackford@vpn5.macromedia.com>
Marcel Reutegger [Thu, 24 Feb 2022 07:46:53 +0000 (08:46 +0100)]
Merge pull request #499 from mreutegg/OAK-9700
OAK-9700: RevisionGC may fail with NPE
Miroslav Smiljanic [Wed, 23 Feb 2022 16:10:42 +0000 (17:10 +0100)]
Merge pull request #502 from jelmini/OAK-9704
OAK-9704 Fix Utils#getConnectionString
Carlo Jelmini [Wed, 23 Feb 2022 16:07:00 +0000 (17:07 +0100)]
OAK-9704 Fix Utils#getConnectionString
Miroslav Smiljanic [Wed, 23 Feb 2022 15:31:47 +0000 (16:31 +0100)]
Merge pull request #501 from jelmini/OAK-9704
OAK-9704 AzureBlobStoreBackend: empty string as null in boolean property
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
Marcel Reutegger [Tue, 22 Feb 2022 17:27:52 +0000 (18:27 +0100)]
OAK-9700: RevisionGC may fail with NPE
Log debug message when id is null as suggested by Stefan Egli
Marcel Reutegger [Tue, 22 Feb 2022 14:37:17 +0000 (15:37 +0100)]
OAK-9700: RevisionGC may fail with NPE
Fix NPE and enable test
Marcel Reutegger [Tue, 22 Feb 2022 14:34:19 +0000 (15:34 +0100)]
OAK-9700: RevisionGC may fail with NPE
Test that reproduces the exception
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