This is an automated email from the ASF dual-hosted git repository.
daim pushed a change to branch OAK-10199
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
omit e17289467b OAK-10199 : removed DetailedGC code changes for
RDBDocumentStore
omit c9a1b608c6 OAK-10199 : made detailedGC non-configurable on
RDBDocumentStore
omit 923bc4806d OAK-10199 : incorporated review comments to remove <p/>
XHTML tags
omit 50fda89091 OAK-10199 : renamed method name to avoid confusion with
other variable of same name
omit 198453b51c OAK-10199 : added unit cases for bundled properties getting
garbaged collected as well
omit 60b87b3b7a OAK-10199 : added bundled properties while calculating the
properties retain set as well
omit 442781a230 OAK-10199 : added review comment to make minor adjustment
for naming conventions and fixes
omit 1d84422eab OAK-10199 : refactored RDBVersionGCSupport code
omit 81fe57ba2b OAK-10199 : fixed query to avoid skipping documents with
greater _modified timestamp
omit 6e122f0e69 OAK-10199 : added logic to skip non garbage documents
omit 6672fe282e OAK-10199 : added unit cases to handle concurrent prop
update and escaped properties update
omit 3e53f3a302 OAK-10199 : handled escaped properties while deleting them
omit 2ce29632b0 OAK-10199 : added test case to continue with GC even if
there is crash
omit 8bede13d2e OAK-10199 : fixed logic to include previously garbage
collected documents if updated recently
omit 424edf9898 OAK-10199 : fixed the VG INIT test
omit 35b623f9f8 OAK-10199 : fixed the VGC IT test cases failures for RDB
omit 1db60fc3e5 OAK-10199 : fixed the test case with different revision for
DetailedGC
omit 2deefb4abc OAK-10199 : added check to include oldestId when running
detailedGc very first time
omit b8bfcacabd OAK-10199 : added test cases to fetch 5000+ modified docs
in loop and verify them
omit bde856b65d OAK-10199 : minor refactoring
omit 9cf25258dd OAK-10199 : updated logic to fetch nodes by sorting them on
the basis of _modified & _id
omit 6912567998 OAK-10199 : fixed code smells as suggested by Sonar
omit 3c10f2f261 OAK-10199 : ignore documents which doesn't have _modified
field in mongo while fetching modifiedDocs
omit 9182d71a51 OAK-10199 : used bulk findAndModify api to perform garbage
cleanup
omit 0aa60e6259 OAK-10199 : override getModifiedDocs() for RDB and added
unit cases for deletedProps
omit be357f4775 OAK-10199 : provided support for feature toggle & osgi
config for detailed gc
omit 07d5aa3b6d OAK-10199 : disable the detailGc in tearDown to avoid
side-effects
omit 06a5f5c092 OAK-10199 : initial sketch of detail gc skeleton
add 09e1ff4dd7 OAK-10347 : Adding small util class for exporting a tree as
flat file (#1021)
add e421f1adf6 OAK-10381: DocumentStoreIndexerIT failure resolved (#1052)
add d6c402c944 OAK-10367: update org.apache.sling.testing.osgi-mock
dependency (#1044)
new 9c37123e4b OAK-10199 : initial sketch of detail gc skeleton
new 44f1688bb1 OAK-10199 : disable the detailGc in tearDown to avoid
side-effects
new 02b84c029d OAK-10199 : provided support for feature toggle & osgi
config for detailed gc
new 4c036a19f2 OAK-10199 : override getModifiedDocs() for RDB and added
unit cases for deletedProps
new 42d1ac79cf OAK-10199 : used bulk findAndModify api to perform garbage
cleanup
new bf4e238b64 OAK-10199 : ignore documents which doesn't have _modified
field in mongo while fetching modifiedDocs
new c75fc867ad OAK-10199 : fixed code smells as suggested by Sonar
new f0eea54493 OAK-10199 : updated logic to fetch nodes by sorting them on
the basis of _modified & _id
new 3278dc2fcb OAK-10199 : minor refactoring
new 6431dc5e98 OAK-10199 : added test cases to fetch 5000+ modified docs
in loop and verify them
new 6aba1f9240 OAK-10199 : added check to include oldestId when running
detailedGc very first time
new fa8e731331 OAK-10199 : fixed the test case with different revision for
DetailedGC
new c1d4c9066d OAK-10199 : fixed the VGC IT test cases failures for RDB
new 11dca2e6e6 OAK-10199 : fixed the VG INIT test
new 20357434a4 OAK-10199 : fixed logic to include previously garbage
collected documents if updated recently
new 1f8bfeebe4 OAK-10199 : added test case to continue with GC even if
there is crash
new 7b7ce7a2e4 OAK-10199 : handled escaped properties while deleting them
new 4cee28b33a OAK-10199 : added unit cases to handle concurrent prop
update and escaped properties update
new a30fc04e97 OAK-10199 : added logic to skip non garbage documents
new 964491f5e3 OAK-10199 : fixed query to avoid skipping documents with
greater _modified timestamp
new a0e8bb27fe OAK-10199 : refactored RDBVersionGCSupport code
new b4a99b7af4 OAK-10199 : added review comment to make minor adjustment
for naming conventions and fixes
new 75be0ca3c8 OAK-10199 : added bundled properties while calculating the
properties retain set as well
new ec08ad96bb OAK-10199 : added unit cases for bundled properties getting
garbaged collected as well
new ce7e858c77 OAK-10199 : renamed method name to avoid confusion with
other variable of same name
new 8eb3762732 OAK-10199 : incorporated review comments to remove <p/>
XHTML tags
new ab112762b9 OAK-10199 : made detailedGC non-configurable on
RDBDocumentStore
new 1f4d7cb1a6 OAK-10199 : removed DetailedGC code changes for
RDBDocumentStore
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (e17289467b)
\
N -- N -- N refs/heads/OAK-10199 (1f4d7cb1a6)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 28 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:
oak-auth-external/pom.xml | 17 +++-
oak-auth-ldap/pom.xml | 27 ++++-
oak-authorization-cug/pom.xml | 22 ++++-
oak-authorization-principalbased/pom.xml | 22 ++++-
oak-benchmarks/pom.xml | 12 ++-
oak-blob-cloud-azure/pom.xml | 5 -
oak-blob-cloud/pom.xml | 2 +-
oak-blob-plugins/pom.xml | 17 +++-
oak-core-spi/pom.xml | 17 +++-
oak-core/pom.xml | 17 +++-
oak-exercise/pom.xml | 2 +-
oak-it/pom.xml | 27 ++++-
.../oak/segment/SegmentBlobGCRegistrationTest.java | 30 ++++--
oak-jcr/pom.xml | 23 ++++-
oak-lucene/pom.xml | 23 ++++-
oak-parent/pom.xml | 20 +++-
.../document/flatfile/NodeStateEntryWriter.java | 24 ++++-
.../document/flatfile/SimpleFlatFileUtil.java | 104 +++++++++++++++++++
.../document/flatfile/SimpleFlatFileUtilTest.java | 110 +++++++++++++++++++++
.../oak/index/ElasticAbstractIndexCommandTest.java | 6 +-
.../oak/index/LuceneAbstractIndexCommandTest.java | 7 +-
oak-search-elastic/pom.xml | 17 +++-
oak-segment-azure/pom.xml | 17 +++-
oak-segment-tar/pom.xml | 17 +++-
.../SegmentBlobTrackerRegistrationTest.java | 32 ++++--
.../oak/segment/SegmentNodeStoreFactoryTest.java | 20 +++-
.../oak/segment/SegmentNodeStoreServiceTest.java | 20 +++-
oak-store-composite/pom.xml | 17 +++-
.../oak/composite/it/CompositeTestSupport.java | 3 +-
oak-store-document/pom.xml | 12 ++-
.../document/DocumentDiscoveryLiteServiceTest.java | 8 +-
.../oak/plugins/document/VersionGCInitTest.java | 13 +--
32 files changed, 642 insertions(+), 68 deletions(-)
create mode 100644
oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/SimpleFlatFileUtil.java
create mode 100644
oak-run-commons/src/test/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/SimpleFlatFileUtilTest.java