From 21065d2852b828cfd0aea00bcb46944732758576 Mon Sep 17 00:00:00 2001 From: Shanicky Chen Date: Wed, 3 Jul 2024 18:30:25 +0800 Subject: [PATCH] Deprecate `vnode_mapping`, reserve field 5, update `MigrationPlan` --- proto/meta.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/meta.proto b/proto/meta.proto index 100f5e45dff5f..bac2d6f7434f1 100644 --- a/proto/meta.proto +++ b/proto/meta.proto @@ -81,6 +81,8 @@ message TableFragments { uint32 fragment_type_mask = 2; FragmentDistributionType distribution_type = 3; repeated stream_plan.StreamActor actors = 4; + + // NOTE: vnode_mapping is deprecated, we will generate the vnode_mapping by actors' bitmaps // Vnode mapping (which should be set in upstream dispatcher) of the fragment. // This field is always set to `Some`. For singleton, the parallel unit for all vnodes will be the same. reserved 5; @@ -130,10 +132,12 @@ message ActorLocation { } message MigrationPlan { + // NOTE: parallel_unit_migration_plan is deprecated, using worker_slot_migration_plan instead // map, the plan indicates that the actors will be migrated from old parallel unit to the new one. reserved 1; reserved "parallel_unit_migration_plan"; + // map, the plan indicates that the actors will be migrated from old worker_slot to the new one. map worker_slot_migration_plan = 2; }