Skip to content

Commit

Permalink
[FLINK-16619][coordination] Log reception of slot reports only once
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Aug 3, 2020
1 parent 1ae668a commit 7d39a2c
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -508,11 +508,10 @@ public boolean unregisterTaskManager(InstanceID instanceId, Exception cause) {
public boolean reportSlotStatus(InstanceID instanceId, SlotReport slotReport) {
checkInit();

LOG.debug("Received slot report from instance {}: {}.", instanceId, slotReport);

TaskManagerRegistration taskManagerRegistration = taskManagerRegistrations.get(instanceId);

if (null != taskManagerRegistration) {
LOG.debug("Received slot report from instance {}: {}.", instanceId, slotReport);

for (SlotStatus slotStatus : slotReport) {
updateSlot(slotStatus.getSlotID(), slotStatus.getAllocationID(), slotStatus.getJobID());
Expand Down

0 comments on commit 7d39a2c

Please sign in to comment.