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 st...@apache.org on 2023/12/13 10:41:15 UTC
(jackrabbit-oak) branch OAK-10199-branchwork updated (4c2cac63ee -> 61fa30e550)
This is an automated email from the ASF dual-hosted git repository.
stefanegli pushed a change to branch OAK-10199-branchwork
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
from 4c2cac63ee OAK-10500: document javadoc build workaround
add 271def139a OAK-10199 : initial sketch of detail gc skeleton
add 8ebb8c7501 OAK-10199 : disable the detailGc in tearDown to avoid side-effects
add a44e9f6ce5 OAK-10199 : provided support for feature toggle & osgi config for detailed gc
add 914ebd47cf OAK-10199 : override getModifiedDocs() for RDB and added unit cases for deletedProps
add b05859f6bd OAK-10199 : used bulk findAndModify api to perform garbage cleanup
add 09ecb935cc OAK-10199 : ignore documents which doesn't have _modified field in mongo while fetching modifiedDocs
add 2da669f0bc OAK-10199 : fixed code smells as suggested by Sonar
add 3fbac313e7 OAK-10199 : updated logic to fetch nodes by sorting them on the basis of _modified & _id
add 70031fed05 OAK-10199 : minor refactoring
add ee42d6e0f2 OAK-10199 : added test cases to fetch 5000+ modified docs in loop and verify them
add ced0adc971 OAK-10199 : added check to include oldestId when running detailedGc very first time
add eb627dede5 OAK-10199 : fixed the test case with different revision for DetailedGC
add be51d59eda OAK-10199 : fixed the VGC IT test cases failures for RDB
add 544524b2af OAK-10199 : fixed the VG INIT test
add 4484b790ed OAK-10199 : fixed logic to include previously garbage collected documents if updated recently
add 5e21548659 OAK-10199 : added test case to continue with GC even if there is crash
add 61136e03ba OAK-10199 : handled escaped properties while deleting them
add 54f643f7b5 OAK-10199 : added unit cases to handle concurrent prop update and escaped properties update
add d9cf116c68 OAK-10199 : added logic to skip non garbage documents
add 2fd23e8f7a OAK-10199 : fixed query to avoid skipping documents with greater _modified timestamp
add c2043ace3f OAK-10199 : refactored RDBVersionGCSupport code
add 90b715c210 OAK-10199 : added review comment to make minor adjustment for naming conventions and fixes
add c3219b7cf1 OAK-10199 : added bundled properties while calculating the properties retain set as well
add 8e9aec0e27 OAK-10199 : added unit cases for bundled properties getting garbaged collected as well
add 69625246ab OAK-10199 : renamed method name to avoid confusion with other variable of same name
add 882529f021 OAK-10199 : incorporated review comments to remove <p/> XHTML tags
add a0800f72ac OAK-10199 : made detailedGC non-configurable on RDBDocumentStore
add 917cfb44da OAK-10199 : removed DetailedGC code changes for RDBDocumentStore
add c3b6a735e9 Merge pull request #1079 from apache/OAK-10378
add 8458b014ce OAK-8646 : Clean up changes from orphaned branch commits, as part of detailed gc
add 5387b42c7e OAK-8646 : added metrics for unmergedbranch commits & improved junit coverage
add ce53a06454 OAK-8646 : [minor] removed unintentional line
add bfc4251365 OAK-8646 : fixed sonar issue of operating of ints to avoid overflow
add 2be84ead48 OAK-10526 : test to reproduce split doc GC with referenced revisions (#1184)
add bc5c669588 OAK-10464 testcontainers dependency
add eccf4f4de8 modified blob endpoint, logback, add testcontainer dependency
add 45275cdd45 migrate mongo docker rule to testcontainer
add 571b32186b minor dependency changes
add a2a3d259f7 minor changes
add 28b14d9ae1 refactor dependency, removed unused ones
add 3250625310 removed test container dependency from child modules
add 484d3dc04a OAK-10199 : added check to include oldestId when running detailedGc very first time
add 6339edfb19 OAK-10199 : added test case to continue with GC even if there is crash
add da43f68568 OAK-10199 : added unit cases for bundled properties getting garbaged collected as well
add cc9d565c2e OAK-10570 : add detailedGC capability to oak-run revisions collect/re… (#1238)
add 61fa30e550 Merge branch 'DetailedGC/OAK-10199' into OAK-10199-branchwork
No new revisions were added by this update.
Summary of changes:
.gitignore | 1 +
oak-jcr/pom.xml | 6 +
oak-parent/pom.xml | 7 +
oak-pojosr/pom.xml | 6 +
.../plugins/document/DocumentNodeStoreHelper.java | 4 +-
.../jackrabbit/oak/run/RevisionsCommand.java | 60 +-
.../jackrabbit/oak/run/RevisionsCommandTest.java | 35 +-
.../src/test/resources/logback-test.xml | 12 +-
.../oak/plugins/document/Configuration.java | 9 +
.../document/DetailedRevisionGCStatsCollector.java | 69 ++
.../DetailedRevisionGCStatsCollectorImpl.java | 154 ++++
.../oak/plugins/document/DocumentNodeStore.java | 3 +-
.../plugins/document/DocumentNodeStoreBuilder.java | 22 +
.../plugins/document/DocumentNodeStoreService.java | 10 +
.../oak/plugins/document/DocumentStore.java | 2 +-
.../oak/plugins/document/NodeDocument.java | 19 +
.../plugins/document/VersionGCRecommendations.java | 156 +++-
.../oak/plugins/document/VersionGCSupport.java | 106 ++-
.../plugins/document/VersionGarbageCollector.java | 680 +++++++++++++++-
.../document/mongo/MongoVersionGCSupport.java | 69 ++
.../document/rdb/RDBDocumentNodeStoreBuilder.java | 25 +
.../document/util/LoggingDocumentStoreWrapper.java | 1 +
.../oak/plugins/document/util/Utils.java | 31 +-
.../oak/plugins/document/BranchCommitGCTest.java | 555 +++++++++++--
.../oak/plugins/document/DetailGCHelper.java | 97 +++
.../DetailedRevisionGCStatsCollectorImplTest.java | 170 ++++
.../DocumentNodeStoreServiceConfigurationTest.java | 10 +
.../oak/plugins/document/NodeDocumentTest.java | 32 +
.../oak/plugins/document/VersionGCInitTest.java | 59 +-
.../oak/plugins/document/VersionGCQueryTest.java | 4 +-
.../oak/plugins/document/VersionGCStatsTest.java | 37 +-
.../oak/plugins/document/VersionGCSupportTest.java | 226 +++++-
.../oak/plugins/document/VersionGCTest.java | 117 ++-
.../document/VersionGarbageCollectorIT.java | 884 ++++++++++++++++++++-
.../document/VersionGarbageCollectorLogTest.java | 22 +
.../mongo/MongoDocumentNodeStoreBuilderTest.java | 12 +
.../rdb/RDBDocumentNodeStoreBuilderTest.java | 21 +
.../oak/plugins/document/util/UtilsTest.java | 53 +-
38 files changed, 3581 insertions(+), 205 deletions(-)
create mode 100644 oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DetailedRevisionGCStatsCollector.java
create mode 100644 oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DetailedRevisionGCStatsCollectorImpl.java
create mode 100644 oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/DetailGCHelper.java
create mode 100644 oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/DetailedRevisionGCStatsCollectorImplTest.java