You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2024/10/17 12:46:56 UTC
(jackrabbit-oak) branch OAK-11078b updated (7cf329acf1 -> 58fed52ba6)
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a change to branch OAK-11078b
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
from 7cf329acf1 OAK-11078: Remove usage of Guava checkArgument
add e80723ed02 OAK-11139 Allow downloading only recently changed nodes from MongoDB (#1734)
add a36fe2e27d OAK-11195 : added api to create LinkedList from iterables
add 7bba3041b9 OAK-11195 : added api to create IdentityHashSet
add 4e8a01b99e Merge pull request #1790 from apache/OAK-11195
add bc58fea9b3 OAK-11187 implement JackrabbitNode.getParentOrNull (#1781)
add b8fd9d5fda OAK-11200 use the improved API of the JackrabbitNode if possible (#1797)
add 9043302038 OAK-11193 : removed Sets.newIdentityHashSet
add 8e72b238f4 Merge pull request #1796 from apache/OAK-11193
add 1122bd71af OAK-11197: improve statistical facets by introducing pre-computed random values (#1791)
add 33e6c14b06 OAK-11191 : removed the usage of Lists.newLinkedList
add f664d88004 Merge pull request #1801 from apache/OAK-11191
add 0b7ac04e51 OAK-11205 : removed usage of Maps.newTreeMap
add 243ec60ac4 Merge pull request #1802 from apache/OAK-11205
add b05a7f8d2b OAK-11208 : added util to partition list based on given partition size
add d8fec77d26 Merge pull request #1803 from apache/OAK-11208
add 4ec0bcfc6b OAK-11198: commons: add helper class for argument checking (#1793)
add d30914a107 merge trunk
add 58fed52ba6 merge trunk
No new revisions were added by this update.
Summary of changes:
.../principal/ExternalUserValidatorProvider.java | 2 +-
.../suites/ScalabilityAbstractSuite.java | 4 +-
.../azure/blobstorage/AzureBlobStoreBackend.java | 3 +-
.../jackrabbit/oak/blob/cloud/s3/S3Backend.java | 5 +-
.../blob/AbstractSharedCachingDataStore.java | 2 +-
.../oak/plugins/blob/CompositeDataStoreCache.java | 2 +-
.../oak/plugins/blob/datastore/FSBackend.java | 2 +-
.../plugins/blob/datastore/OakFileDataStore.java | 2 +-
.../jackrabbit/oak/spi/blob/AbstractBlobStore.java | 2 +-
.../apache/jackrabbit/oak/commons/StringUtils.java | 2 +-
.../oak/commons/collections/CollectionUtils.java | 49 +++++
.../conditions/{Checks.java => Validate.java} | 24 ++-
.../oak/commons/sort/ExternalSortByteArray.java | 4 +-
.../commons/collections/CollectionUtilsTest.java | 37 ++++
.../oak/commons/conditions/ChecksTest.java | 220 ---------------------
.../oak/commons/conditions/ValidateTest.java | 110 +++++++++++
.../apache/jackrabbit/oak/osgi/OsgiWhiteboard.java | 2 +-
.../oak/spi/whiteboard/DefaultWhiteboard.java | 6 +-
.../apache/jackrabbit/oak/core/ImmutableRoot.java | 2 +-
.../apache/jackrabbit/oak/core/MutableTree.java | 2 +-
.../oak/namepath/impl/GlobalNameMapper.java | 2 +-
.../oak/namepath/impl/LocalNameMapper.java | 2 +-
.../oak/plugins/identifier/IdentifierManager.java | 2 +-
.../oak/plugins/index/AsyncIndexUpdate.java | 2 +-
.../oak/plugins/index/AsyncIndexerService.java | 2 +-
.../jackrabbit/oak/plugins/index/IndexUpdate.java | 4 +-
.../jackrabbit/oak/plugins/index/IndexUtils.java | 2 +-
.../oak/plugins/index/cursor/Cursors.java | 2 +-
.../datastore/DataStoreTextProviderService.java | 2 +-
.../index/datastore/DataStoreTextWriter.java | 2 +-
.../index/importer/IndexDefinitionUpdater.java | 2 +-
.../oak/plugins/index/importer/IndexImporter.java | 2 +-
.../oak/plugins/index/importer/IndexerInfo.java | 2 +-
.../index/property/PropertyIndexInfoProvider.java | 2 +-
.../oak/plugins/nodetype/NodeTypeImpl.java | 6 +-
.../oak/plugins/observation/EventGenerator.java | 3 +-
.../observation/filter/GlobbingPathHelper.java | 4 +-
.../oak/plugins/tree/factories/TreeFactory.java | 2 +-
.../oak/plugins/tree/impl/AbstractMutableTree.java | 2 +-
.../oak/plugins/tree/impl/TreeProviderService.java | 2 +-
.../plugins/version/ReadWriteVersionManager.java | 2 +-
.../apache/jackrabbit/oak/query/ast/AndImpl.java | 2 +-
.../apache/jackrabbit/oak/query/ast/OrImpl.java | 2 +-
.../oak/security/user/UserManagerImpl.java | 2 +-
.../metric/MetricStatisticsProviderTest.java | 4 +-
.../nodetype/write/NodeTypeRegistryTest.java | 2 +-
.../apache/jackrabbit/oak/http/AcceptHeader.java | 2 +-
.../org/apache/jackrabbit/api/JackrabbitNode.java | 16 ++
.../apache/jackrabbit/api/JackrabbitSession.java | 3 +
.../org/apache/jackrabbit/api/package-info.java | 2 +-
.../oak/jcr/delegate/AuthorizableDelegator.java | 2 +-
.../oak/jcr/delegate/ImpersonationDelegator.java | 2 +-
.../oak/jcr/delegate/UserManagerDelegator.java | 2 +-
.../jackrabbit/oak/jcr/observation/EventQueue.java | 3 +-
.../jackrabbit/oak/jcr/session/NodeImpl.java | 19 ++
.../oak/jcr/version/ReadWriteVersionManager.java | 2 +-
.../index/lucene/IndexAugmentorFactory.java | 6 +-
.../index/lucene/LuceneIndexEditorProvider.java | 2 +-
.../index/lucene/LuceneIndexInfoProvider.java | 2 +-
.../plugins/index/lucene/LuceneIndexMBeanImpl.java | 2 +-
.../index/lucene/LuceneIndexNodeManager.java | 2 +-
.../ActiveDeletedBlobCollectorFactory.java | 2 +-
.../lucene/directory/CopyOnWriteDirectory.java | 2 +-
.../index/lucene/directory/IndexRootDirectory.java | 4 +-
.../index/lucene/directory/OakDirectory.java | 2 +-
.../index/lucene/hybrid/NRTIndexFactory.java | 2 +-
.../index/lucene/util/LuceneIndexHelper.java | 2 +-
.../plugins/index/lucene/util/TapeSampling.java | 4 +-
.../lucene/writer/DefaultIndexWriterFactory.java | 4 +-
.../jackrabbit/oak/index/IndexerSupport.java | 14 ++
.../indexer/document/DocumentStoreIndexerBase.java | 1 +
.../flatfile/FlatFileNodeStoreBuilder.java | 16 +-
.../linkedList/FlatFileBufferLinkedList.java | 4 +-
.../flatfile/linkedList/PersistedLinkedList.java | 4 +-
.../flatfile/linkedList/PersistedLinkedListV2.java | 4 +-
.../flatfile/pipelined/PipelinedMergeSortTask.java | 12 +-
.../pipelined/PipelinedMongoDownloadTask.java | 48 ++++-
.../flatfile/pipelined/PipelinedStrategy.java | 16 +-
.../pipelined/PipelinedTreeStoreStrategy.java | 26 ++-
.../incrementalstore/IncrementalStoreOperand.java | 36 +++-
.../MergeIncrementalFlatFileStore.java | 3 +-
.../MergeIncrementalTreeStore.java | 164 ++++++++++-----
.../oak/index/indexer/document/tree/TreeStore.java | 26 +++
.../document/mongo/MongoDocumentStoreHelper.java | 5 +-
.../flatfile/MergeIncrementalTreeStoreTest.java | 116 ++++++++++-
.../flatfile/pipelined/PipelinedTreeStoreIT.java | 72 +++++++
.../index/indexer/document/tree/TreeStoreTest.java | 68 +++++++
.../jackrabbit/oak/index/ElasticIndexCommand.java | 4 +-
.../jackrabbit/oak/explorer/NodeStoreTree.java | 7 +-
.../oak/exporter/NodeStateSerializer.java | 2 +-
.../apache/jackrabbit/oak/index/IndexCommand.java | 2 +-
.../oak/index/IndexDefinitionUpdater.java | 8 +-
.../oak/plugins/document/CheckpointsHelper.java | 5 +-
.../tika/CSVFileBinaryResourceProvider.java | 2 +-
.../oak/plugins/tika/TextExtractorMain.java | 2 +-
.../jackrabbit/oak/segment/FileStoreHelper.java | 2 +-
.../index/elastic/ElasticIndexDefinition.java | 5 +
.../index/elastic/index/ElasticDocument.java | 10 +
.../index/elastic/index/ElasticDocumentMaker.java | 3 +-
.../index/elastic/index/ElasticIndexHelper.java | 2 +
.../ElasticStatisticalFacetAsyncProvider.java | 16 +-
.../elastic/ElasticIndexPlannerCommonTest.java | 2 +-
.../oak/plugins/index/search/Aggregate.java | 2 +-
.../index/search/FulltextIndexConstants.java | 2 +-
.../search/spi/editor/FulltextIndexEditor.java | 4 +-
.../oak/plugins/index/search/util/ConfigUtil.java | 2 +-
.../index/search/util/IndexDefinitionUtils.java | 2 +-
.../oak/plugins/index/search/util/IndexHelper.java | 2 +-
.../plugins/index/search/util/TapeSampling.java | 4 +-
.../jackrabbit/oak/plugins/tree/TreeLocation.java | 2 +-
.../oak/spi/security/privilege/PrivilegeBits.java | 2 +-
.../oak/spi/security/user/util/UserUtil.java | 2 +-
.../oak/segment/aws/tool/AwsCompact.java | 2 +-
.../oak/segment/azure/AzureArchiveManager.java | 2 +-
.../oak/segment/azure/tool/AzureCheck.java | 2 +-
.../oak/segment/azure/tool/AzureCompact.java | 2 +-
.../oak/segment/DefaultSegmentWriter.java | 2 +-
.../apache/jackrabbit/oak/segment/ListRecord.java | 2 +-
.../jackrabbit/oak/segment/RecordWriters.java | 2 +-
.../oak/segment/SegmentBufferWriter.java | 2 +-
.../jackrabbit/oak/segment/SegmentNodeState.java | 2 +-
.../jackrabbit/oak/segment/SegmentNodeStore.java | 2 +-
.../jackrabbit/oak/segment/SegmentParser.java | 2 +-
.../oak/segment/SegmentPropertyState.java | 2 +-
.../jackrabbit/oak/segment/SegmentReferences.java | 2 +-
.../jackrabbit/oak/segment/SegmentStream.java | 2 +-
.../oak/segment/file/ManifestChecker.java | 2 +-
.../jackrabbit/oak/segment/file/PriorityCache.java | 2 +-
.../jackrabbit/oak/segment/file/tar/TarFiles.java | 2 +-
.../jackrabbit/oak/segment/file/tar/TarReader.java | 4 +-
.../oak/segment/file/tar/index/IndexLoader.java | 2 +-
.../oak/segment/file/tar/index/IndexWriter.java | 2 +-
.../jackrabbit/oak/segment/scheduler/Commit.java | 2 +-
.../oak/segment/scheduler/LockBasedScheduler.java | 2 +-
.../segment/standby/server/StandbyServerSync.java | 2 +-
.../apache/jackrabbit/oak/segment/tool/Check.java | 2 +-
.../jackrabbit/oak/segment/tool/Compact.java | 2 +-
.../jackrabbit/oak/segment/tool/DebugSegments.java | 2 +-
.../jackrabbit/oak/segment/tool/DebugTars.java | 2 +-
.../jackrabbit/oak/segment/tool/History.java | 2 +-
.../jackrabbit/oak/segment/tool/SearchNodes.java | 2 +-
.../apache/jackrabbit/oak/segment/tool/Utils.java | 2 +-
.../oak/segment/tool/check/CheckHelper.java | 2 +-
.../segment/tool/iotrace/BreadthFirstTrace.java | 7 +-
.../oak/segment/tool/iotrace/DepthFirstTrace.java | 2 +-
.../oak/segment/SegmentCompactionIT.java | 2 +-
.../oak/composite/CompositeNodeStore.java | 2 +-
.../oak/composite/CompositeNodeStoreService.java | 4 +-
.../oak/plugins/document/BatchCommit.java | 2 +-
.../jackrabbit/oak/plugins/document/Branch.java | 2 +-
.../oak/plugins/document/Checkpoints.java | 3 +-
.../oak/plugins/document/CommitQueue.java | 2 +-
.../oak/plugins/document/DocumentNodeStore.java | 2 +-
.../plugins/document/DocumentNodeStoreBuilder.java | 2 +-
.../document/DocumentNodeStoreMBeanImpl.java | 2 +-
.../oak/plugins/document/JournalDiffLoader.java | 2 +-
.../oak/plugins/document/JournalEntry.java | 2 +-
.../plugins/document/JournalPropertyHandler.java | 2 +-
.../oak/plugins/document/NodeDocument.java | 4 +-
.../jackrabbit/oak/plugins/document/Path.java | 2 +-
.../jackrabbit/oak/plugins/document/Range.java | 2 +-
.../oak/plugins/document/SplitDocumentCleanUp.java | 2 +-
.../oak/plugins/document/UnmergedBranches.java | 2 +-
.../oak/plugins/document/UnsavedModifications.java | 3 +-
.../plugins/document/bundlor/CompositeMatcher.java | 2 +-
.../plugins/document/bundlor/DocumentBundlor.java | 2 +-
.../document/bundlor/IncludeAllMatcher.java | 2 +-
.../oak/plugins/document/mongo/MongoUtils.java | 2 +-
.../document/secondary/PathFilteringDiff.java | 2 +-
.../oak/plugins/document/util/TimeInterval.java | 2 +-
.../plugins/document/DocumentNodeStoreTest.java | 5 +-
.../oak/plugins/document/NodeDocumentTest.java | 14 +-
.../jackrabbit/oak/json/Base64BlobSerializer.java | 2 +-
.../oak/plugins/memory/GenericPropertyState.java | 2 +-
.../oak/plugins/memory/MemoryNodeStore.java | 2 +-
.../plugins/memory/MultiGenericPropertyState.java | 2 +-
.../oak/plugins/memory/MultiPropertyState.java | 2 +-
.../oak/plugins/memory/PropertyBuilder.java | 2 +-
.../oak/plugins/memory/SinglePropertyState.java | 2 +-
.../oak/plugins/value/jcr/ValueImpl.java | 2 +-
.../oak/spi/commit/CompositeConflictHandler.java | 6 +-
.../oak/spi/commit/CompositeObserver.java | 4 +-
.../oak/spi/commit/SubtreeExcludingValidator.java | 2 +-
.../oak/spi/commit/SubtreeValidator.java | 2 +-
.../oak/upgrade/JackrabbitNodeState.java | 2 +-
.../oak/upgrade/blob/LengthCachingDataStore.java | 2 +-
186 files changed, 1025 insertions(+), 522 deletions(-)
rename oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/conditions/{Checks.java => Validate.java} (78%)
delete mode 100644 oak-commons/src/test/java/org/apache/jackrabbit/oak/commons/conditions/ChecksTest.java
create mode 100644 oak-commons/src/test/java/org/apache/jackrabbit/oak/commons/conditions/ValidateTest.java