Opened 4 months ago

Last modified 4 months ago

#3072 accepted defect

Hive tasks receive statelog updates from unauthorized slaves

Reported by: jkarder Owned by: jkarder
Priority: high Milestone: HeuristicLab 3.3.17
Component: Hive.Server Version: trunk
Keywords: Cc:

Description

It is possible that two slaves are calculating the same task at the same time, e.g. when the first slave looses network connectivity, the task will be rescheduled on another slave. If after a while the first slave can reconnect to the Hive service, it is possible that this slave also updates statelog entries. This can cause the server to abort both calculations and result in an aborted task which is not rescheduled.

Change History (2)

comment:1 Changed 4 months ago by jkarder

  • Milestone set to HeuristicLab 3.3.17
  • Status changed from new to accepted

comment:2 Changed 4 months ago by jkarder

  • Version set to trunk

r17575: fixed statelog updates

  • fixed UpdateTasks so that it selects the correct last slave id for a specified task
  • introduced check if a slave is allowed to update a task's state (IsAuthorizedForTask)
Note: See TracTickets for help on using tickets.