Skip to content

chore(deps): bump ordered-float from 5.2.0 to 5.3.0#23

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ordered-float-5.3.0
Closed

chore(deps): bump ordered-float from 5.2.0 to 5.3.0#23
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ordered-float-5.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 30, 2026

Copy link
Copy Markdown
Contributor

Bumps ordered-float from 5.2.0 to 5.3.0.

Release notes

Sourced from ordered-float's releases.

v5.3.0

What's Changed

New Contributors

Full Changelog: reem/rust-ordered-float@v5.2.0...v5.3.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ordered-float](https://github.com/reem/rust-ordered-float) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/reem/rust-ordered-float/releases)
- [Commits](reem/rust-ordered-float@v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: ordered-float
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 30, 2026
@TinDang97 TinDang97 mentioned this pull request Mar 30, 2026
2 tasks
@dependabot @github

dependabot Bot commented on behalf of github Mar 31, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/cargo/ordered-float-5.3.0 branch March 31, 2026 07:10
pilotspacex-byte added a commit that referenced this pull request Jul 11, 2026
… replicas (#281)

HIGH-2 (tasks #22 + #23): the replica-side drain already understood
in-stream SELECT context (drain_replicated_commands binds each command
to the selected db), but the master never emitted it — every replicated
write applied to the replica's db 0 regardless of which db it executed
in on the master. And a client could not even READ a replica's non-zero
dbs: SELECT is flagged W in the metadata table, so the READONLY guard
rejected it.

Master side:
- ReplicationState grows per-shard `stream_db: Vec<AtomicI64>` (-1 =
  unknown): the logical-db context of the LAST data command recorded
  into the shard's replication backlog.
- New `record_local_write_db(ctx, db, bytes)` prepends a `SELECT <db>`
  record via the existing `record_local_write` primitive whenever the
  writing connection's db differs from the stream context. Both records
  stay in the same synchronous stretch as the mutation (exactly-once
  contract unchanged; SELECT bytes advance the offset like any stream
  bytes).
- All db-scoped record sites switched to the db-aware variant: the
  three KV legs (main, MOVE, COPY), the MULTI/EXEC body loop, the
  GRAPH.* WAL-record leg, and the FT.* index-def leg. The
  TEMPORAL.INVALIDATE-AT leg keeps the primitive (db-agnostic record,
  leaves the context untouched — which stays truthful).
- FULLRESYNC snapshot capture resets the shard's stream_db to -1 in the
  SAME synchronous stretch as the RDB capture (Redis's `slaveseldb = -1`
  idiom): every byte at offset >= snapshot_offset starts from "db
  unknown", so the first post-snapshot write re-establishes the context
  with an explicit SELECT and a fresh replica (whose drain starts at
  db 0) can never bind a write to the wrong db. Redundant re-SELECTs
  for already-attached replicas are idempotent.

Replica side:
- `ReplicaTaskConfig::stream_db` (AtomicUsize) preserves the drain's db
  context ACROSS reconnects: a +CONTINUE partial resync replays backlog
  bytes that only carry SELECT at db CHANGES — if the stream was in
  db N when the link dropped, the resumed bytes have no fresh SELECT
  and a 0-reset drain would misapply them to db 0. Seeded into
  stream_commands on entry, persisted after every drain, reset to 0 on
  +FULLRESYNC. In-memory only: a replica process restart starts at
  offset 0 and always full-resyncs.
- READONLY guards (monoio dispatch, tokio sharded dispatch,
  handler_single) now serve SELECT on replicas — connection-state only,
  Redis parity.

New e2e replica_applies_multi_db_stream (RED before the fix — failed at
the READONLY SELECT assertion, then would misapply db-2 writes to
db 0): db-0 write flows, SELECT 2 + SET on the master, db-0 hop-back
sentinel; asserts the db-2 write lands in db 2 on the replica, did NOT
leak into db 0, and the db-0 sentinel did not leak into db 2.

Verification: lib 4111 green, replication_streaming 5/5 (incl. new
test), replication_graph 3/3, replication_hardening 5/5, tokio
replication_test 5/5, fmt clean, clippy clean on default and
runtime-tokio,jemalloc.

author: Tin Dang

Co-authored-by: Tin Dang <tindang.ht97@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants