Files
seaweedfs/weed
chrislu 94f3232e78 🚨 CRITICAL BREAKTHROUGH: Switch case for ListOffsets NEVER MATCHED!
## The Smoking Gun

Switch statement logging shows:
- 316 times: case APIKeyMetadata 
- 0 times: case APIKeyListOffsets (apiKey=2) 
- 6+ times: case APIKeyApiVersions 

## What This Means

The case label for APIKeyListOffsets is NEVER executed, meaning:

1.  TCP receives requests with apiKey=2
2.  REQUEST_LOOP parses and logs them as apiKey=2
3.  Requests are queued to channel
4.  processRequestSync receives a DIFFERENT apiKey value than 2!

OR

The apiKey=2 requests are being ROUTED ELSEWHERE before reaching processRequestSync switch statement!

## Root Cause

The apiKey value is being MODIFIED or CORRUPTED between:
- HTTP-level request parsing (REQUEST_LOOP logs show 2)
- Request queuing
- processRequestSync switch statement execution

OR the requests are being routed to a different channel (data plane vs control plane)
and never reaching the Sync handler!

## Next: Check request routing logic to see if apiKey=2 is being sent to wrong channel
2025-10-16 16:48:09 -07:00
..
2025-10-13 18:05:17 -07:00
2025-10-14 13:04:33 -07:00
2025-10-13 18:05:17 -07:00
2025-10-13 18:05:17 -07:00
2025-10-15 22:56:47 -07:00
2025-10-13 18:05:17 -07:00
2025-08-31 23:31:28 -07:00
2025-08-22 01:15:42 -07:00
2025-10-15 16:08:21 -07:00
2025-10-13 18:05:17 -07:00
2024-06-25 09:18:11 -07:00
2025-10-13 18:05:17 -07:00
2025-08-30 11:15:48 -07:00
2025-10-13 18:05:17 -07:00
2024-02-14 08:26:38 -08:00
2025-10-13 18:05:17 -07:00
2025-10-13 18:05:17 -07:00
2025-10-13 18:05:17 -07:00
2025-10-13 18:05:17 -07:00
2025-07-19 21:43:34 -07:00
2025-03-17 23:13:27 -07:00