[dovecot/core] 3a7a0c: director: When logging "ring SYNC lost", include s...

GitHub noreply at github.com
Fri Sep 15 12:30:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 3a7a0c35c9f827f86fb437e640287f3a467ef692
      https://github.com/dovecot/core/commit/3a7a0c35c9f827f86fb437e640287f3a467ef692
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: When logging "ring SYNC lost", include sync seq number in message

This can help with debugging.


  Commit: 465fb89a877b778f68734f6cc36db9ce2a4a0a71
      https://github.com/dovecot/core/commit/465fb89a877b778f68734f6cc36db9ce2a4a0a71
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Improve debugging: Log ring desync when there is no right connection


  Commit: 027f58ea63a1822bbf13d99ee5572e5f8b9e8d8b
      https://github.com/dovecot/core/commit/027f58ea63a1822bbf13d99ee5572e5f8b9e8d8b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director-connection.c
    M src/director/director.c
    M src/director/director.h
    M src/director/doveadm-connection.c

  Log Message:
  -----------
  director: Log info line whenever a director is added/removed from ring

This can help with debugging problems.


  Commit: e9d302dceba09ceefa0aaddf7eafafd760cd1736
      https://github.com/dovecot/core/commit/e9d302dceba09ceefa0aaddf7eafafd760cd1736
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: Cleanup - move code to a new director_log_connect()

Also adds a missing ')' to the log line.


  Commit: e2fdcdb4ee53ab769123e27997713aaea34910e1
      https://github.com/dovecot/core/commit/e2fdcdb4ee53ab769123e27997713aaea34910e1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director-connection.c
    M src/director/director.c
    M src/director/director.h
    M src/director/main.c

  Log Message:
  -----------
  director: Log info line for every incoming/outgoing connection

This can help with debugging problems.


  Commit: e588e0b3f3119ba2cc98b338ee9868f8f0297f49
      https://github.com/dovecot/core/commit/e588e0b3f3119ba2cc98b338ee9868f8f0297f49
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Don't reset directors' last_network_failure while handshaking

The reset is done mainly to make it faster for a director that has been down
to connect back to the ring, without other directors still thinking that
it's down. But DIRECTOR that is sent during handshake says nothing about
whether the director is up at the moment or not.


  Commit: 83b9d8afc2776ebf61ddb77b85241f2591ef7f7b
      https://github.com/dovecot/core/commit/83b9d8afc2776ebf61ddb77b85241f2591ef7f7b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director.c

  Log Message:
  -----------
  director: When director is removed, notify it before disconnecting

This way the removed director will know that it's been removed, and it
can also more quickly forward the removal to other directors.


  Commit: d8a93844f0b25be82da9c0ab79c321c110f5fb5f
      https://github.com/dovecot/core/commit/d8a93844f0b25be82da9c0ab79c321c110f5fb5f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: After CONNECT was received, make sure we disconnect

The remote side won't be reading anything after the CONNECT, so we have to
disconnect anyway. If we decide that the CONNECT request is wrong, reconnect
after a short delay and hope that the remote agrees with us the next time.


  Commit: 69ea755e44ae1ec65971acc737b2641a4917a60e
      https://github.com/dovecot/core/commit/69ea755e44ae1ec65971acc737b2641a4917a60e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Ignore CONNECT requests to hosts that have been removed already


  Commit: 8913a7f43959c7d5e8692584fe056d420cc2f9e0
      https://github.com/dovecot/core/commit/8913a7f43959c7d5e8692584fe056d420cc2f9e0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M src/director/doveadm-connection.c

  Log Message:
  -----------
  director: Fix ring sync wait after DIRECTOR-REMOVE

It was sending OK twice, and the first OK was too early.


Compare: https://github.com/dovecot/core/compare/8a2262007b0c...8913a7f43959


More information about the dovecot-cvs mailing list