[OpenSIPS-Devel] [OpenSIPS/opensips] 7ea8f6: Add new function ql_force_process_disconnect()

Bogdan Andrei IANCU noreply at github.com
Wed Feb 6 11:41:54 EST 2019


  Branch: refs/heads/dynamic-fork
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
      https://github.com/OpenSIPS/opensips/commit/7ea8f60f2e2d9f3ba062276c79b22177a0d77d8c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M db/db_insertq.c
    M db/db_insertq.h

  Log Message:
  -----------
  Add new function ql_force_process_disconnect()

This disconnects all the existing DB conns mapped on a given process, from all the queues.
To be used when doing gracefull process termination.


  Commit: b57b0aed5e28e13894e5723bc80ddda6a8261a58
      https://github.com/OpenSIPS/opensips/commit/b57b0aed5e28e13894e5723bc80ddda6a8261a58
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M reactor_defs.h

  Log Message:
  -----------
  Add new macro reactor_is_empty()

Needed for graceful process termination


  Commit: de812572a767f77a7d0fc4ee3d69801c53f322e1
      https://github.com/OpenSIPS/opensips/commit/de812572a767f77a7d0fc4ee3d69801c53f322e1
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M ipc.c
    M ipc.h

  Log Message:
  -----------
  Added ipc_handle_all_pending_jobs()

A new function to consume (in a non blocking way) all the pending ipc jobs on the pipe.


  Commit: f583b7ab96e7e203a7137c53d64b9b200dd5424b
      https://github.com/OpenSIPS/opensips/commit/f583b7ab96e7e203a7137c53d64b9b200dd5424b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M db/db_insertq.c

  Log Message:
  -----------
  Fix ql_force_process_disconnect()

Deal with the case when the list is empty (not init)


  Commit: e2032c76ad0a70a1c2c5b437489cd5f61e93949e
      https://github.com/OpenSIPS/opensips/commit/e2032c76ad0a70a1c2c5b437489cd5f61e93949e
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-02-06 (Wed, 06 Feb 2019)

  Changed paths:
    M main.c
    M net/net_tcp.c
    M net/net_udp.c
    M pt.c
    M pt.h
    M timer.c

  Log Message:
  -----------
  Add down-scaling support for the auto-scaling


Compare: https://github.com/OpenSIPS/opensips/compare/33ed337757d2...e2032c76ad0a



More information about the Devel mailing list