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

Subscribe to CKeyValue multiple times from the same task #469

Open
rbx opened this issue Jan 30, 2023 · 0 comments
Open

Subscribe to CKeyValue multiple times from the same task #469

rbx opened this issue Jan 30, 2023 · 0 comments
Assignees
Milestone

Comments

@rbx
Copy link
Member

rbx commented Jan 30, 2023

In my task I subscribe to CKeyValue internally from my DDS plugin code. At the same time a user should be able to subscribe to CKeyValue to listen on their own key/value updates.

I've tried this with a group of tasks, where all of them subscribe to CKeyValue and CCustomCmd via the plugin and exchange some values over it.
Later during the execution they subscribe a second time from the user code to CKeyValue and one of them puts a new value (to a separate key).

After the second subscription I have following things that go wrong:

  • some tasks receive the latest value in the user code, but plugin doesn't receive the value. These properly receive the CCustomCmd commands in the plugin.
  • others receive the new value in the plugin, but not in the user code. But also, these tasks no longer receive commands via CCustomCmd (which I subscribed to only once in the plugin).
@AnarManafov AnarManafov self-assigned this Jan 30, 2023
@AnarManafov AnarManafov added this to the 3.8 milestone Jan 30, 2023
@AnarManafov AnarManafov modified the milestones: 3.8, 3.9 Jan 12, 2024
@AnarManafov AnarManafov modified the milestones: 3.9, 3.10, 3.11 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants