debezium/dbz#2229 feat: implement batch compaction, sync_batch, and T…#18
Open
KMohnishM wants to merge 1 commit into
Open
debezium/dbz#2229 feat: implement batch compaction, sync_batch, and T…#18KMohnishM wants to merge 1 commit into
KMohnishM wants to merge 1 commit into
Conversation
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
from
July 15, 2026 04:36
5275f66 to
fe6caa0
Compare
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 15, 2026 04:36
f8eff0d to
f45ab4f
Compare
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
2 times, most recently
from
July 15, 2026 04:54
3986f6a to
f746a2f
Compare
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 15, 2026 04:55
f45ab4f to
8e32007
Compare
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
from
July 15, 2026 05:03
f746a2f to
3c020d5
Compare
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 15, 2026 05:03
8e32007 to
5df9c04
Compare
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
from
July 18, 2026 12:57
3c020d5 to
6ee0c05
Compare
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 18, 2026 12:57
5df9c04 to
9a57294
Compare
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
from
July 22, 2026 11:32
6ee0c05 to
d4effec
Compare
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 22, 2026 11:32
9a57294 to
21020b8
Compare
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
from
July 22, 2026 11:40
d4effec to
73433c9
Compare
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 22, 2026 11:40
21020b8 to
5da26ad
Compare
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
from
July 22, 2026 11:47
73433c9 to
55eddb4
Compare
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 22, 2026 11:48
5da26ad to
6acfc9f
Compare
KMohnishM
force-pushed
the
gsoc-week-8-benchmarks
branch
from
July 22, 2026 11:52
55eddb4 to
dc59b09
Compare
…hreadPoolExecutor parallelization Signed-off-by: KMohnishM <kmohnishm@gmail.com>
KMohnishM
force-pushed
the
gsoc-week-8-compaction
branch
from
July 22, 2026 11:52
6acfc9f to
e8ef22a
Compare
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.
…hreadPoolExecutor parallelization
Description
This PR completes the GSoC Week 8 milestone by adding batch orchestration, CDC event compaction, and concurrency to the
SyncManagerpipeline. It optimizes the consumption of multiple events by aggregating redundant transactions on identical primary keys and parallelizing document construction.Proposed Changes
sync_batch(self, events: list[DebeziumEventModel])inSyncManager.doc_idand retains only the latest operation state (e.g.,c+u+dbecomes a singledevent;c+ubecomes a singleuevent). This prevents redundant updates and deletes from reaching the vector store.ThreadPoolExecutorconcurrency during the document building phase to calculate embeddings and build LangChain Documents in parallel.test_sync_batch_compactionverifying stateful CDC event collapse behavior.test_sync_batch_error_fallbackverifying sequential fallback isolation during bulk adapter failures.Verification Results
All 88 unit and integration tests passed successfully: