Skip to content

Commit baf4bfd

Browse files
fix: Allow overlapping context scopes (#2378)
Co-authored-by: Cijo Thomas <[email protected]>
1 parent ff33638 commit baf4bfd

File tree

2 files changed

+238
-43
lines changed

2 files changed

+238
-43
lines changed

opentelemetry/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- *Breaking* Changed value type of `Baggage` from `Value` to `StringValue`
1111
- Updated `Baggage` constants to reflect latest standard (`MAX_KEY_VALUE_PAIRS` - 180 -> 64, `MAX_BYTES_FOR_ONE_PAIR` - removed) and increased insert performance see #[2284](https://github.com/open-telemetry/opentelemetry-rust/pull/2284).
1212
- *Breaking* Align `Baggage.remove()` signature with `.get()` to take the key as a reference
13+
- Changed `Context` to use a stack to properly handle out of order dropping of `ContextGuard`. This imposes a limit of `65535` nested contexts on a single thread. See #[2378](https://github.com/open-telemetry/opentelemetry-rust/pull/2284) and #[1887](https://github.com/open-telemetry/opentelemetry-rust/issues/1887).
1314

1415
- Added additional `name: Option<&str>` parameter to the `event_enabled` method
1516
on the `Logger` trait. This allows implementations (SDK, processor, exporters)

0 commit comments

Comments
 (0)