Ticket #1795: changeset_r9db2f65ebb8eaa4f6094f2f99eff928ba285f5f5.diff

File changeset_r9db2f65ebb8eaa4f6094f2f99eff928ba285f5f5.diff, 904 bytes (added by jean, at 2012-07-25T03:15:12Z)

workaround

  • src/allmydata/mutable/servermap.py

     
    675675        self._status.add_per_server_time(server, "query", started, elapsed)
    676676
    677         if datavs:
    678             self._good_servers.add(server)
    679         else:
     677        if not datavs:
    680678            self._empty_servers.add(server)
    681679
     
    14101408            dl.addCallback(lambda verinfo, shnum=shnum, data=data:
    14111409                           self._cache_good_sharedata(verinfo, shnum, now, data))
     1410            dl.addCallback(lambda r: self._good_servers.add(server))
     1411
    14121412            ds.append(dl)
    14131413        # dl is a deferred list that will fire when all of the shares