Github user NicoK commented on the issue:
https://github.com/apache/flink/pull/4374
but honestly, the previous approach just looks wrong: adding it and in case
of a conflict reverting that `put` operation.
What if (and I'm walking in the dark here) something already operates on
the invalidly registered task (is this run in parallel?). I cannot spot any
parallel use though...---
