# Add the (peerid, shnum) tuple to our list of outstanding
# queries. This gets used by _loop if some of our queries
# fail to place shares.
self.outstanding.add((writer.peerid, writer.shnum))
d.addCallback(self._got_write_answer, writer, started)
# Add the (peerid, shnum) tuple to our list of outstanding
# queries. This gets used by _loop if some of our queries
# fail to place shares.
self.outstanding.add((writer.peerid, writer.shnum))
d.addCallback(self._got_write_answer, writer, started)