Skip to content

[BUG] dispatcher: ds_reload will not discard removed setids from the db #2455

@ovidiusas

Description

@ovidiusas

OpenSIPS version you are running

version: opensips 3.1.1 (x86_64/linux)

Describe the bug
When a setid is completly removed from the db and a ds_reload is performed, the removed setid from db is still present in memory.

To Reproduce

  1. start opensips with the dispatcher module loaded
  2. list existing setids `ds_list'
  3. add a new setid to the db
  4. perform a reload ds_reload
  5. list existing setids `ds_list' and check for the new setid
  6. remove the new setid from the db
  7. list existing setids `ds_list' and check for the new setid

Expected behavior
After removing the setid from the db and performing a ds_reload, the removed setid should be removed from memory and no longer be listed by ds_list

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions