You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to install 2 ign-transport versions side-by-side, but they don't seem to be able to talk to each other. Not sure if that's expected.
Steps to Reproduce
Install ign-transport6 and ign-transport7
Clone branch multi-version (e3cc098), where I created a little example that has 2 publishers and 2 subscribers
Compile the example:
cd multi-version
mkdir build
cd build
cmake ..
make
On one terminal, start subscriber6:
cd build
./subscriber6
On another terminal, start subscriber7:
cd build
./subscriber7
On another terminal, start publisher6:
cd build
./publisher6
Only subscriber6 will receive the message
Now try publisher7, and only subscriber7 will receive the message.
Expected behavior:
Both subscribers receive messages from both publishers.
Actual behavior:
Only pub/sub with matching versions can see each other.
Reproduces how often:
100%
Versions
Tested with 6/7
Additional Information
Again, I'm not sure if this is expected. If it is, we can close this issue, but be more strict with our transport / msgs versions on all Ignition libraries.
The text was updated successfully, but these errors were encountered:
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
After talking offline, some conclusions:
We should try to prevent users from mixing versions, by preventing compilation linking to both 6 and 7 and / or printing runtime errors if both versions are in use
There are changes that can be made to the discovery protocol to make future changes backwards compatible
Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
Description
It's possible to install 2 ign-transport versions side-by-side, but they don't seem to be able to talk to each other. Not sure if that's expected.
Steps to Reproduce
Install
ign-transport6
andign-transport7
Clone branch multi-version (e3cc098), where I created a little example that has 2 publishers and 2 subscribers
Compile the example:
On one terminal, start
subscriber6
:On another terminal, start
subscriber7
:On another terminal, start
publisher6
:Only
subscriber6
will receive the messageNow try
publisher7
, and onlysubscriber7
will receive the message.Expected behavior:
Both subscribers receive messages from both publishers.
Actual behavior:
Only pub/sub with matching versions can see each other.
Reproduces how often:
100%
Versions
Tested with 6/7
Additional Information
Again, I'm not sure if this is expected. If it is, we can close this issue, but be more strict with our transport / msgs versions on all Ignition libraries.
The text was updated successfully, but these errors were encountered: