JingsongLi opened a new pull request, #8598:
URL: https://github.com/apache/paimon/pull/8598

   ## Purpose
   
   Prepare the primary-key index write lifecycle for additional source-backed 
index families, such as BTree and Bitmap, while preserving the existing 
vector-index behavior and Postpone Bucket compaction support.
   
   ## Changes
   
   - Add `BucketedPrimaryKeyIndexMaintainer` as the shared per-bucket 
coordinator for source-backed primary-key indexes.
   - Route restore, executor binding, checkpoint waiting, commit preparation, 
and close through the shared coordinator.
   - Rename vector-specific restore payload fields to generic source-index 
payloads.
   - Preserve pinned-snapshot restoration used by Postpone Bucket compaction, 
including source-index payload restoration from the pinned input snapshot.
   
   ## Impact
   
   This is an internal refactoring. Primary-key vector indexes keep their 
existing build and commit behavior. Postpone Bucket compaction continues to 
restore data files and source-backed index payloads from its pinned snapshot. 
The shared lifecycle provides the integration point for later BTree and Bitmap 
index maintainers.
   
   ## Validation
   
   - 15 targeted tests passed across `paimon-core` and `paimon-flink-common`, 
covering write restore, vector write lifecycle, Postpone commit rewriting, 
fixed-bucket table conversion, and Postpone compact split sourcing.
   - `paimon-core` Checkstyle, Spotless, and Enforcer checks passed.
   - Verified that no vector-specific lifecycle field or restore-payload names 
remain in `paimon-core`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to