Skip to content

[LCM] CP-53843: reusable SM session#7049

Open
GabrielBuica wants to merge 4 commits intoxapi-project:26.1-lcmfrom
GabrielBuica:private/dbuica/26.1-lcm-backport
Open

[LCM] CP-53843: reusable SM session#7049
GabrielBuica wants to merge 4 commits intoxapi-project:26.1-lcmfrom
GabrielBuica:private/dbuica/26.1-lcm-backport

Conversation

@GabrielBuica
Copy link
Copy Markdown
Contributor

Backport for reusable SM sessions #7002

Gabriel Buica added 4 commits May 1, 2026 15:54
`exec_with_new_*` function create orphaned traces for subtasks with
parents not in the database.

This is meant to address this and link these spans to their correct
parent.

Signed-off-by: Gabriel Buica <danutgabriel.buica@citrix.com>
refactor the code before implementing reusable sessions for `sm_exec`

Signed-off-by: Gabriel Buica <danutgabriel.buica@citrix.com>
The session reuse logic in `xapi_session.ml` does work in this usecase,
sm calls are made with `pool=false`. So reimplement the logic so that we
use a single session for `sm_exec` per sr.

This should help with session count inside xapi.

Signed-off-by: Gabriel Buica <danutgabriel.buica@citrix.com>
Signed-off-by: Gabriel Buica <danutgabriel.buica@citrix.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant