Skip to content

Fix: Add lock to prevent SMF crash and include 3gpp-Sbi-Request-Info header for POST request retry - #5

Open
anaswarac-dac wants to merge 4 commits into
cdacmasterfrom
issue#362
Open

Fix: Add lock to prevent SMF crash and include 3gpp-Sbi-Request-Info header for POST request retry#5
anaswarac-dac wants to merge 4 commits into
cdacmasterfrom
issue#362

Conversation

@anaswarac-dac

Copy link
Copy Markdown
Member

What type of PR is this?

/kind bug fix

What this PR does / why we need it:
This PR addresses two issues:

Prevent SMF crash
Added appropriate locking to protect shared resources and prevent concurrent access, eliminating the SMF crash caused by concurrent operations.
Support POST request retry
Added the 3gpp-Sbi-Request-Info header to POST requests during retry. This enables peer NF services to identify retried requests correctly and handle them according to the 3GPP SBI retry procedure, preventing duplicate request processing and improving robustness during transient failures.

Test Report Added?:

/kind TESTED

Test Report:

Special notes for your reviewer:

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