Closed yahoNanJing closed 1 year ago
Closes #723.
After the cluster state refactored by #658, the state cache part in ExecutorManager becomes redundant. It's better to remove them.
ExecutorManager
The following fields in ExecutorManager are removed:
slots_policy
executor_metadata
executors_heartbeat
executor_data
And the RoundRobinLocal slot policy is removed.
RoundRobinLocal
And the SlotsPolicy is renamed to TaskDistribution.
SlotsPolicy
TaskDistribution
Removed buggy executor check for pull-staged task scheduling
Hi @thinkharderdev, could you help review this PR?
Hi @thinkharderdev, now I copy the cache logic into the KeyValueState, could you help have a check?
KeyValueState
Which issue does this PR close?
Closes #723.
Rationale for this change
After the cluster state refactored by #658, the state cache part in
ExecutorManager
becomes redundant. It's better to remove them.What changes are included in this PR?
The following fields in
ExecutorManager
are removed:slots_policy
executor_metadata
executors_heartbeat
executor_data
And the
RoundRobinLocal
slot policy is removed.And the
SlotsPolicy
is renamed toTaskDistribution
.Removed buggy executor check for pull-staged task scheduling
Are there any user-facing changes?