[dovecot/core] aa7e57: director: Fix potential panic when director is alo...

GitHub noreply at github.com
Thu Oct 5 17:30:12 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: aa7e573b32f014d8736333fe271ea606c5709f82
      https://github.com/dovecot/core/commit/aa7e573b32f014d8736333fe271ea606c5709f82
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Fix potential panic when director is alone

If director is alone and it can't connect to other directors, it might crash
with:

Panic: file director.c: line 318 (director_set_ring_synced): assertion failed: (!dir->ring_synced)


  Commit: de69258ceb035b1e08301dc70e257bef341dea85
      https://github.com/dovecot/core/commit/de69258ceb035b1e08301dc70e257bef341dea85
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Rename director_delayed_dir_remove_timeout() to director_hosts_purge_removed()

This allows using it for other purposes without having a confusing name.


  Commit: eb5809d0666810ff5ba9da188e1e4e2092ee0eea
      https://github.com/dovecot/core/commit/eb5809d0666810ff5ba9da188e1e4e2092ee0eea
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: When ring is synced, purge any pending "removed" directors

This allows adding a director back to the ring without having to wait for 30
seconds.


Compare: https://github.com/dovecot/core/compare/12c57531519d...eb5809d06668


More information about the dovecot-cvs mailing list