mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-25 14:30:43 +01:00
Revert "fix: Ensure offset fetch checks SMQ storage as fallback"
This reverts commit 5c0f215eb5.
This commit is contained in:
1 parent
5c0f215eb5
commit
9d53d5883c
1 file changed
-2
@@ -268,8 +268,6 @@ func (h *Handler) handleOffsetFetch(correlationID uint32, apiVersion uint16, req
|
||||
if off, meta, err := h.fetchOffsetFromSMQ(key); err == nil && off >= 0 {
|
||||
fetchedOffset = off
|
||||
metadata = meta
|
||||
// Load into in-memory cache for future queries
|
||||
_ = h.commitOffset(group, topic.Name, partition, off, meta)
|
||||
glog.V(4).Infof("[OFFSET_FETCH] Found in storage: group=%s topic=%s partition=%d offset=%d",
|
||||
request.GroupID, topic.Name, partition, off)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user