https://bugs.openldap.org/show_bug.cgi?id=9555
Issue ID: 9555 Summary: Introduce a default operations timeout for back-asyncmeta Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: backends Assignee: bugs@openldap.org Reporter: nivanova@symas.com Target Milestone: ---
Currently, if no operation timeout is configured, the default asyncmeta behavior is to have no timeout. This is potentially unsafe - if for some reason a target server does not return a response, the operation will stay in the queue until the connection is reset due to some network error (idle-timeout is not honored if there are pending operations). In the case of many such operations, the queues can get filled up and asyncmeta will become unable to process new operations for some time.
Therefore, a setting of "0" should be used carefully and with intent. To prevent accidental configuration of 0, the default operations timeout should be a value larger than 0.
https://bugs.openldap.org/show_bug.cgi?id=9555
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Assignee|bugs@openldap.org |nivanova@symas.com Target Milestone|--- |2.5.5 Ever confirmed|0 |1
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/336
https://bugs.openldap.org/show_bug.cgi?id=9555
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • 915e5159 by Nadezhda Ivanova at 2021-05-25T15:01:51+00:00 ITS#9555 Introduce a default operations timeout for back-asyncmeta
• b92b0337 by Nadezhda Ivanova at 2021-05-25T15:01:51+00:00 ITS#9555 Changed alignment in the default definitions block to tabs instead of spaces
https://bugs.openldap.org/show_bug.cgi?id=9555
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE25:
Commits: • 4840d03e by Nadezhda Ivanova at 2021-05-25T19:42:34+00:00 ITS#9555 Introduce a default operations timeout for back-asyncmeta
• ae11f31c by Nadezhda Ivanova at 2021-05-25T19:42:44+00:00 ITS#9555 Changed alignment in the default definitions block to tabs instead of spaces
https://bugs.openldap.org/show_bug.cgi?id=9555
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED