Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAK-10739 : Provide support for FullGC in Mongo DocumentStore #1454

Merged
merged 164 commits into from
May 28, 2024

Conversation

rishabhdaim
Copy link
Contributor

No description provided.

stefan-egli and others added 30 commits March 15, 2024 10:45
OAK-10378 : added metrics to collect detailedGC cycle & deleted properties data
@stefan-egli
Copy link
Contributor

I believe most of the cosmetic changes have been reverted and the PR is ready for review again.

@mbaedke
Copy link
Contributor

mbaedke commented May 21, 2024

@stefan-egli, is it really a good idea to do a merge commit? These are 160 commits and I would assume that many of them are intermediate changes or even reverted later. If we do no delete the branch, nothing gets lost, even with a squeeze commit.

@stefan-egli
Copy link
Contributor

@mbaedke yea I had second thought there as well. I'm fine with squeeze as well. @rishabhdaim , @Joscorbe ?

@rishabhdaim
Copy link
Contributor Author

@mbaedke yea I had second thought there as well. I'm fine with squeeze as well. @rishabhdaim , @Joscorbe ?

I am fine with squashing too.

@stefan-egli
Copy link
Contributor

previous, direct commit was just a fix for a previous revert - aka a detail

Rishabh Kumar and others added 2 commits May 23, 2024 15:02
@@ -26,6 +26,8 @@
import org.apache.jackrabbit.oak.plugins.document.DocumentStore;
import org.apache.jackrabbit.oak.plugins.document.MissingLastRevSeeker;
import org.apache.jackrabbit.oak.plugins.document.VersionGCSupport;
import org.apache.jackrabbit.oak.spi.toggle.Feature;
import org.jetbrains.annotations.Nullable;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just checking: why do we need the "Feature" import?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need it for overridding public RDBDocumentNodeStoreBuilder setDocStoreFullGCFeature(@Nullable Feature docStoreFullGC) method.

Copy link
Contributor

@reschke reschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks much better now. I'm +1 on merging now to avoid having to deal with bit rot again.

@Joscorbe
Copy link
Member

I'm fine with squashing too @stefan-egli @rishabhdaim.

@stefan-egli
Copy link
Contributor

@Joscorbe I see NodeDocumentRevisionCleanerTest.testRecentRevisionsArePreserved failing - would it be much effort to fix that before the merge?

@Joscorbe Joscorbe merged commit e5cffd3 into trunk May 28, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants