Optimize MongoReadJournal pipelines and bump dependency versions#2355
Open
thjaeckle wants to merge 1 commit intoeclipse-ditto:masterfrom
Open
Optimize MongoReadJournal pipelines and bump dependency versions#2355thjaeckle wants to merge 1 commit intoeclipse-ditto:masterfrom
thjaeckle wants to merge 1 commit intoeclipse-ditto:masterfrom
Conversation
Member
thjaeckle
commented
Feb 26, 2026
- Extract inline BsonDocument.parse() calls into static final constants (FILTER_PRIORITY_TAGS_EXPR, DOCDB_MAP_PRIORITY_TAGS_EXPR) to avoid re-parsing on every ping interval
- Add $project stages before $sort/$group to reduce document size in memory
- Replace recursive $redact with targeted $addFields/$filter on the items array in listNewestActiveSnapshotsByBatch; skip stage entirely when includeDeleted=true
- Enable snapshot aggregation index (pid+sn+id) by default for MongoDB 6+
- Update pekko-persistence-mongodb 1.3.1 -> 1.4.0
- Update mongo-java-driver 5.6.0 -> 5.6.4
- Update netty 4.2.4.Final -> 4.2.10.Final
- Fix IndexInitializationIT to match activated index configuration
- Extract inline BsonDocument.parse() calls into static final constants (FILTER_PRIORITY_TAGS_EXPR, DOCDB_MAP_PRIORITY_TAGS_EXPR) to avoid re-parsing on every ping interval - Add $project stages before $sort/$group to reduce document size in memory - Replace recursive $redact with targeted $addFields/$filter on the items array in listNewestActiveSnapshotsByBatch; skip stage entirely when includeDeleted=true - Enable snapshot aggregation index (pid+sn+id) by default for MongoDB 6+ - Update pekko-persistence-mongodb 1.3.1 -> 1.4.0 - Update mongo-java-driver 5.6.0 -> 5.6.4 - Update netty 4.2.4.Final -> 4.2.10.Final - Fix IndexInitializationIT to match activated index configuration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.