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

merge Dev/1.0.0 into main #1331

Merged
merged 716 commits into from
Aug 30, 2024
Merged

merge Dev/1.0.0 into main #1331

merged 716 commits into from
Aug 30, 2024

Conversation

milyin
Copy link
Contributor

@milyin milyin commented Aug 27, 2024

No description provided.

milyin and others added 30 commits June 6, 2024 17:10
session id parameter added to new_timestamp, renaming
This flag was just used to prevent double close/undeclaration, i.e. object being drop after `close`/`undeclare`.
Using `ManuallyDrop` instead in `close`/`undeclare` solve this issue, and save some space in structs
(often one word counting the padding, which is not negligible).
* attachment made stable

* one more unstable remove

* use moved out of unstable

* cargo fmt
…ng listeners

The only real change of this PR is to undeclare objects at session closing/publisher undeclaration.
Calling `background` is then only a `mem::forget`.
* hello wrapped, getters added

* cargo fmt
* fix forgotten QoS and Timestamp ext processing for query/reply #1107

* fix priority bitfield managing
feat: add unstable background method to subscriber/queryable/matching listeners
* Remove StringOrBase64

* Fix cargo fmt

* Use serde_json::from_reader

* Align error text

* Fix cargo clippy
zettascale-bot and others added 20 commits August 20, 2024 10:20
* chore: Bump version to `1.0.0-dev`

* chore: Bump /zenoh.*/ dependencies to `1.0.0-dev`

* chore: Update Cargo lockfile

---------

Co-authored-by: eclipse-zenoh-bot <[email protected]>
* Hide `UndeclarableInner::undeclare_inner`

* Rename `UndeclarableInner` to `UndeclareSealed`
* make reliability feature unstable

* clippy fix
* Zenohd panic when tring load file

When zenohd trying load file, if it have a problem it crash cause another treat was "unwrap", and it return to a type config. So, it crash and cause painic.

* zenohd default config error #1292

When tring load config file defined by -c option. With haver any problema "unwrap" has been to Config type.

I treat it return a Default Config whe it happen

* If file fail when try load configs

If file fail when try load configs

* Update main.rs

* Resolve typos at comment

Resolve typos at comment
* Replace trees computation tasks with a worker

* Address review comments

* Remove review comments
* Add NOTE for LowLatency transport. (#1088)

Signed-off-by: ChenYing Kuo <[email protected]>

* fix: Improve debug messages in `zenoh-transport` (#1090)

* fix: Improve debug messages for failing RX/TX tasks

* fix: Improve debug message for `accept_link` timeout

* chore: Fix `clippy::redundant_pattern_matching` error

* Improve pipeline backoff (#1097)

* Yield task for backoff

* Improve comments and error handling in backoff

* Simplify pipeline pull

* Consider backoff configuration

* Add typos check to CI (#1065)

* Fix typos

* Add typos check to CI

* Start link tx_task before notifying router (#1098)

* Fix typos (#1110)

* bump quinn & rustls (#1086)

* bump quinn & rustls

* fix ci windows check

* add comments

* Fix interface name scanning when listening on IP unspecified for TCP/TLS/QUIC/WS (#1123)

Co-authored-by: Julien Enoch <[email protected]>

* Enable releasing from any branch (#1136)

* Fix cargo clippy (#1145)

* Release tables locks before propagating subscribers and queryables declarations to void dead locks (#1150)

* Send simple sub and qabl declarations using a given function

* Send simple sub and qabl declarations after releasing tables lock

* Send simple sub and qabl declarations after releasing tables lock (missing places)

* feat: make `TerminatableTask` terminate itself when dropped (#1151)

* Fix bug in keyexpr::includes leading to call get_unchecked on empty array UB (#1208)

* REST plugin uses unbounded flume channels for queries (#1213)

* fix: typo in selector.rs (#1228)

* fix: zenohd --cfg (#1263)

* fix: zenohd --cfg

* ci: trigger

* Update zenohd/src/main.rs

---------

Co-authored-by: Luca Cominardi <[email protected]>

* Fix failover brokering bug reacting to linkstate changes (#1272)

* Change missleading log

* Fix failover brokering bug reacting to linkstate changes

* Retrigger CI

---------

Co-authored-by: Luca Cominardi <[email protected]>

* Code format

* Fix clippy warnings

* Code format

* Fix Clippy errors from Rust 1.80 (#1273)

* Allow unexpected `doc_auto_cfg` flag

* Keep never-constructed logger interceptor

* Ignore interior mutability of `Resource`

* Fix typo

* Resolve `clippy::doc-lazy-continuation` errors

* Upgrade `[email protected]` to `[email protected]`

See time-rs/time#693

* Update Cargo.toml (#1277)

Updated description to be aligned with what we use everywhere else

* fix: typos (#1297)

* Replace trees computation tasks with a worker (#1303)

* Replace trees computation tasks with a worker

* Address review comments

* Remove review comments

* zenohd-default config error #1292 (#1298)

* Zenohd panic when tring load file

When zenohd trying load file, if it have a problem it crash cause another treat was "unwrap", and it return to a type config. So, it crash and cause painic.

* zenohd default config error #1292

When tring load config file defined by -c option. With haver any problema "unwrap" has been to Config type.

I treat it return a Default Config whe it happen

* If file fail when try load configs

If file fail when try load configs

* Update main.rs

* Resolve typos at comment

Resolve typos at comment

* fix: typos (#1297)

* zenohd-default config error #1292 (#1298)

* Zenohd panic when tring load file

When zenohd trying load file, if it have a problem it crash cause another treat was "unwrap", and it return to a type config. So, it crash and cause painic.

* zenohd default config error #1292

When tring load config file defined by -c option. With haver any problema "unwrap" has been to Config type.

I treat it return a Default Config whe it happen

* If file fail when try load configs

If file fail when try load configs

* Update main.rs

* Resolve typos at comment

Resolve typos at comment

* Replace trees computation tasks with a worker (#1303)

* Replace trees computation tasks with a worker

* Address review comments

* Remove review comments

* revering fix #1298

---------

Signed-off-by: ChenYing Kuo <[email protected]>
Co-authored-by: ChenYing Kuo (CY) <[email protected]>
Co-authored-by: Mahmoud Mazouz <[email protected]>
Co-authored-by: Luca Cominardi <[email protected]>
Co-authored-by: Tavo Annus <[email protected]>
Co-authored-by: JLer <[email protected]>
Co-authored-by: Julien Enoch <[email protected]>
Co-authored-by: OlivierHecart <[email protected]>
Co-authored-by: Yuyuan Yuan <[email protected]>
Co-authored-by: Diogo Matsubara <[email protected]>
Co-authored-by: OlivierHecart <[email protected]>
Co-authored-by: kydos <[email protected]>
Co-authored-by: brianPA <[email protected]>
Co-authored-by: Tiago Neves <[email protected]>
* Fix liveliness bug

* Don't duplicate token undeclarations in peers for clients

* Don't duplicate token declarations in linksstate peers for clients
* Fix wire_expr mapping

* Fix find and replace error
* Rework of pipeline backoff

* Cargo fmt

* Fic backoff calculation

* Fix backoff calculation

* Fix lint

* Add event tests

* Improve event tests

* Update event API

* Improve event tests

* Precommit

* Fix event wait_timeout and wait_deadline impls

* Add event_deadline tests

* Pre-commit

* Update batching config

* Fix typos

* Address review comments
)

This change is motivated by the refactor of the Replication feature. In
order to exchange metadata that can be processed by all Replicas, the
key expressions associated with the data stored must be prefixed (when
sent) and stripped (when received).

This commit exposes two functions, at the `zenoh-plugin-storage-manager`
crate, that perform these operations.

The objective is to reuse these functions in the Replication refactor
and, as we intend to move the Replication in its own crate, exposing
them at the crate level makes it easier to then import them.

* plugins/zenoh-plugin-storage-manager/src/lib.rs:
  - moved there the `strip_prefix` function,
  - moved there the `get_prefixed` function and renamed it to `prefix`.
* plugins/zenoh-plugin-storage-manager/src/replica/mod.rs: updated the
  call to the previously named `get_prefixed` function.
* plugins/zenoh-plugin-storage-manager/src/replica/storage.rs:
  - removed the `strip_prefix` method,
  - removed the `prefix` function,
  - updated the call to `strip_prefix` and `get_prefixed`.
@eclipse-zenoh-bot
Copy link
Contributor

PR missing one of the required labels: breaking-change bug dependencies documentation enhancement new feature internal

* Upgrade dependencies

* Fix dependencies

* Fix winerror dependency
@eclipse-zenoh-bot
Copy link
Contributor

PR missing one of the required labels: breaking-change bug dependencies documentation enhancement new feature internal

Copy link

PR missing one of the required labels: breaking-change bug dependencies documentation enhancement new feature internal

@Mallets Mallets added enhancement Existing things could work better new feature Something new is needed breaking-change Indicates that the issue implies a breaking change (be it at compile time or at runtime) umbrella The task which covers multiple other tasks labels Aug 29, 2024
@Mallets Mallets merged commit 7ff82cf into main Aug 30, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Indicates that the issue implies a breaking change (be it at compile time or at runtime) enhancement Existing things could work better new feature Something new is needed umbrella The task which covers multiple other tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.