Files
seaweedfs/seaweed-block/cmd
pingqiuandClaude Opus 5.5 8e6aca8c39 test: a weed pair's HTTP slices never meet another shard's gRPC ports
With a high ephemeral lower bound the weed pair range ran to 40000, so one
shard's HTTP slice (20000-29999 for shards 1-2, 30000+ for shards 3-4)
could meet another shard's gRPC ports (HTTP + 10000). weedPairRange caps
the HTTP range at 30000, below every gRPC port, and below the ephemeral
range less 10000 when that leaves room (the Linux default, 32768, still
gives 20000-22767). TestWeedPairSlicesNeverMeetAcrossShards checks every
pair of shards' HTTP and gRPC slices for ephemeral bounds from 28000 to
61000; with the old cap it fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:19:10 -08:00
..