Skip to content

Commit

Permalink
Remove executor metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw committed Aug 21, 2024
1 parent b28b84f commit 69b61b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ballista/scheduler/src/cluster/kv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,10 @@ impl<S: KeyValueStore, T: 'static + AsLogicalPlan, U: 'static + AsExecutionPlan>
.await?;
self.executor_heartbeats.remove(executor_id);

// TODO Check the Executor reservation logic for push-based scheduling
self.store
.put(Keyspace::Executors, executor_id.to_string(), vec![])
.await?;
self.executors.remove(executor_id);

Ok(())
}
Expand Down

0 comments on commit 69b61b2

Please sign in to comment.