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

[Bug] Binary Data Misinterpreted as UTF-8 in Zenoh Storage for InfluxDB 2 #302

Open
czarekk215 opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@czarekk215
Copy link

Describe the bug

When attempting to store binary data in Zenoh storage configured for InfluxDB 2, the system incorrectly interprets the binary data as UTF-8. If the binary data does not represent a valid UTF-8 string, the operation fails, and the database stores an invalid record. The stored record is a base64-encoded string indicating that it failed to interpret the data as UTF-8.

To reproduce

  1. Set up Zenoh storage configured for InfluxDB.
  2. Create a publisher and use it to write a binary value (e.g., a value that is not a valid UTF-8 string).
  3. Try to retrieve the value using:
    • Zenoh client.
    • InfluxDB client by querying: SELECT * FROM path/to/something.

System info

  • Operating System: Ubuntu 22.04 LTS (Jammy Jellyfish)
  • Architecture: AMD64 (x86_64)
  • Zenoh Version: 1.1.0
@czarekk215 czarekk215 added the bug Something isn't working label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant