Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Policy Base Routing failure; Possible table ID collision. #588

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

ljkiraly
Copy link
Contributor

Related issue: networkservicemesh/deployments-k8s/issues/9119

Added a mechanism to protect table ID selection from parallel runs.

@ljkiraly
Copy link
Contributor Author

New solution based on this hint: #583 (comment)

@ljkiraly ljkiraly marked this pull request as ready for review May 30, 2023 09:38
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ps[tableID] = policy
tableIDs.Store(connID, ps)
// release the lock
nsRTableNextIDToConnID.Delete(nsrtid)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
nsRTableNextIDToConnID.Delete(nsrtid)

This could be removed

Related issue: networkservicemesh/deployments-k8s/issues/9119

Added a mechanism to protect table ID selection from parallel runs.

Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
@denis-tingaikin denis-tingaikin merged commit 61983f6 into networkservicemesh:main Jun 15, 2023
12 checks passed
nsmbot pushed a commit to networkservicemesh/sdk-sriov that referenced this pull request Jun 15, 2023
…k-kernel@main

PR link: networkservicemesh/sdk-kernel#588

Commit: 61983f6
Author: Denis Tingaikin
Date: 2023-06-16 02:43:39 +0300
Message:
  - Merge pull request #588 from Nordix/fix-sync-pbr
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/sdk-vpp that referenced this pull request Jun 15, 2023
…k-kernel@main

PR link: networkservicemesh/sdk-kernel#588

Commit: 61983f6
Author: Denis Tingaikin
Date: 2023-06-16 02:43:39 +0300
Message:
  - Merge pull request #588 from Nordix/fix-sync-pbr
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-l7-proxy that referenced this pull request Jun 15, 2023
…k-kernel@main

PR link: networkservicemesh/sdk-kernel#588

Commit: 61983f6
Author: Denis Tingaikin
Date: 2023-06-16 02:43:39 +0300
Message:
  - Merge pull request #588 from Nordix/fix-sync-pbr
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
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.

None yet

3 participants