Skip to content

Commit

Permalink
relax correlation id constrain (#4354)
Browse files Browse the repository at this point in the history
  • Loading branch information
sehz authored Jan 23, 2025
1 parent 971cc37 commit bcc990b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ fluvio-sc-schema = { version = "0.25.0", path = "crates/fluvio-sc-schema", defau
fluvio-service = { path = "crates/fluvio-service" }
fluvio-smartengine = { version = "0.8.0", path = "crates/fluvio-smartengine", default-features = false }
fluvio-smartmodule = { version = "0.8.0", path = "crates/fluvio-smartmodule", default-features = false }
fluvio-socket = { version = "0.15.0", path = "crates/fluvio-socket", default-features = false }
fluvio-socket = { version = "0.15.1", path = "crates/fluvio-socket", default-features = false }
fluvio-spu-schema = { version = "0.17.0", path = "crates/fluvio-spu-schema", default-features = false }
fluvio-storage = { path = "crates/fluvio-storage" }
fluvio-stream-dispatcher = { version = "0.13.2", path = "crates/fluvio-stream-dispatcher" }
Expand Down
2 changes: 1 addition & 1 deletion crates/fluvio-socket/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fluvio-socket"
version = "0.15.0"
version = "0.15.1"
edition = "2021"
authors = ["Fluvio Contributors <team@fluvio.io>"]
description = "Provide TCP socket wrapper for fluvio protocol"
Expand Down
4 changes: 2 additions & 2 deletions crates/fluvio-socket/src/multiplexing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::marker::PhantomData;
use std::pin::Pin;
use std::sync::Arc;
use std::sync::atomic::AtomicBool;
use std::sync::atomic::Ordering::SeqCst;
use std::sync::atomic::Ordering::{SeqCst, Relaxed};
use std::sync::atomic::AtomicI32;
use std::time::Duration;
use std::fmt;
Expand Down Expand Up @@ -119,7 +119,7 @@ impl MultiplexerSocket {

/// get next available correlation to use
fn next_correlation_id(&self) -> i32 {
self.correlation_id_counter.fetch_add(1, SeqCst)
self.correlation_id_counter.fetch_add(1, Relaxed)
}

/// create socket to perform request and response
Expand Down

0 comments on commit bcc990b

Please sign in to comment.