mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 22:11:39 +02:00
fmt
This commit is contained in:
1 parent
0670ea4690
commit
bab10b6c26
2 files changed
+2
-1
No files matched your search
@@ -116,6 +116,7 @@ func (h *Handler) handleFetch(correlationID uint32, apiVersion uint16, requestBo
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Printf("DEBUG: Fetch v%d response hex dump (%d bytes): %x\n", apiVersion, len(response), response)
|
||||
return response, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -1138,7 +1138,7 @@ func (h *Handler) handleListOffsets(correlationID uint32, apiVersion uint16, req
|
||||
replicaID := int32(binary.BigEndian.Uint32(requestBody[offset : offset+4]))
|
||||
offset += 4
|
||||
fmt.Printf("DEBUG: ListOffsets v%d - replica_id: %d\n", apiVersion, replicaID)
|
||||
|
||||
|
||||
if apiVersion >= 2 {
|
||||
if len(requestBody) < offset+1 {
|
||||
return nil, fmt.Errorf("ListOffsets v%d request missing isolation_level", apiVersion)
|
||||
|
||||
Reference in new issue
Block a user