Changes between Initial Version and Version 1 of Ticket #393, comment 169
- Timestamp:
- 2011-09-25T05:18:43Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #393, comment 169
initial v1 1 1 Replying to [comment:165 davidsarah]: 2 > However nothing in publish.py removes entries from {{{self.outstanding}}}. In finish_publishing at [source:src/allmydata/mutable/publish.py@5280#L855], the loop adds entries to {{{self.outstanding}}}, and registers an errback to {{{self._connection_problem}}} if {{{writer.finish_publishing}}} fails. But {{{self._connection_problem}}} removes the writer from {{{self.writers}}}, it doesn't remove {{{(writer.peerid, writer.shnum)}}} from {{{self.outstanding}}}. So either the comment or the logic is wrong. 2 > However nothing in publish.py removes entries from {{{self.outstanding}}}. In finish_publishing at [source:src/allmydata/mutable/publish.py@5280#L855], the loop adds entries to {{{self.outstanding}}}, and registers an errback to {{{self._connection_problem}}} if {{{writer.finish_publishing}}} fails. But {{{self._connection_problem}}} removes the writer from {{{self.writers}}}, it doesn't remove {{{(writer.peerid, writer.shnum)}}} from {{{self.outstanding}}}. So either the comment or the logic is wrong. (Also there's a reference to {{{_loop}}} at line 872, and I don't see any {{{_loop}}} in that file.) 3 3 4 This was fixed in [changeset:f94eb86fc9232ce6] 5 6 > (Also there's a reference to {{{_loop}}} at line 872, and I don't see any {{{_loop}}} in that file.) 7 8 and this in [changeset:1fa5c729b758776b]. 4 These were fixed in [changeset:f94eb86fc9232ce6].