Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for drop (0.18 sec)

  1. cmd/object-handlers.go

    		}
    		objInfo.ETag = getDecryptedETag(r.Header, objInfo, false)
    	}
    
    	if r.Header.Get(xhttp.AmzChecksumMode) == "ENABLED" && rs == nil {
    		// AWS S3 silently drops checksums on range requests.
    		hash.AddChecksumHeader(w, objInfo.decryptChecksums(opts.PartNumber))
    	}
    
    	var buf *bytebufferpool.ByteBuffer
    	if update {
    		if globalCacheConfig.MatchesSize(objInfo.Size) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    		if r.Err != nil {
    			if debugPrint {
    				fmt.Println("Closing mux", m.MuxID, "due to error:", r.Err)
    			}
    			m.closeLocked()
    		}
    		return true
    	default:
    		if m.stateless {
    			// Drop message if not stateful.
    			return
    		}
    		err := errors.New("INTERNAL ERROR: Response was blocked")
    		gridLogIf(m.ctx, err)
    		m.closeLocked()
    		return false
    	}
    }
    
    func (m *muxClient) close() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	var xlMeta xlMetaV2
    	var legacyPreserved bool
    	var legacyEntries []string
    	if len(dstBuf) > 0 {
    		if isXL2V1Format(dstBuf) {
    			if err = xlMeta.Load(dstBuf); err != nil {
    				// Data appears corrupt. Drop data.
    				xlMeta = xlMetaV2{}
    			}
    		} else {
    			// This code-path is to preserve the legacy data.
    			xlMetaLegacy := &xlMetaV1Object{}
    			json := jsoniter.ConfigCompatibleWithStandardLibrary
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    		meta[xhttp.ContentType] = oi.ContentType
    	}
    
    	meta[xhttp.AmzObjectTagging] = oi.UserTags
    	meta[xhttp.AmzTagDirective] = "REPLACE"
    
    	if sc == "" {
    		sc = oi.StorageClass
    	}
    	// drop non standard storage classes for tiering from replication
    	if sc != "" && (sc == storageclass.RRS || sc == storageclass.STANDARD) {
    		meta[xhttp.AmzStorageClass] = sc
    	}
    
    	meta[xhttp.MinIOSourceETag] = oi.ETag
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. internal/bucket/replication/rule.go

    	// Make subtype to avoid recursive UnmarshalXML().
    	type deleteReplication DeleteReplication
    	drep := deleteReplication{}
    
    	if err := dec.DecodeElement(&drep, &start); err != nil {
    		return err
    	}
    	if len(drep.Status) == 0 {
    		drep.Status = Disabled
    	}
    	d.Status = drep.Status
    	return nil
    }
    
    // ExistingObjectReplication - whether existing object replication is enabled
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 23:22:20 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. cmd/metacache.go

    	}
    
    	if m.status == scanStateStarted && update.status != scanStateStarted {
    		m.status = update.status
    	}
    
    	if m.status == scanStateStarted && time.Since(m.lastHandout) > metacacheMaxClientWait {
    		// Drop if client hasn't been seen for 3 minutes.
    		m.status = scanStateError
    		m.error = "client not seen"
    	}
    
    	if m.error == "" && update.error != "" {
    		m.error = update.error
    		m.status = scanStateError
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. internal/handlers/forwarder.go

    }
    
    type bufPool struct {
    	sz   int
    	pool sync.Pool
    }
    
    func (b *bufPool) Put(buf []byte) {
    	if cap(buf) < b.sz || cap(buf) > b.sz*2 {
    		// Buffer too small or will likely leak memory after being expanded.
    		// Drop it.
    		return
    	}
    	b.pool.Put(&buf)
    }
    
    func (b *bufPool) Get() []byte {
    	bufp := b.pool.Get().(*[]byte)
    	return (*bufp)[:b.sz]
    }
    
    func newBufPool(sz int) httputil.BufferPool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    			h.LastCheckFailure = reqStartTime
    		}
    	}
    
    	// Round the request time *down* to whole minute.
    	reqTimeMinute := reqStartTime.Truncate(time.Minute)
    	if reqTimeMinute.After(h.currentMinute.statsTime) {
    		// Drop the last full minute now, since we got a request for a time we
    		// are not yet tracking.
    		h.updateLastFullMinute(reqTimeMinute)
    	}
    	var entry *serviceRTTMinuteStats
    	switch {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. cmd/data-usage-cache.go

    	// drive timeout by default is 2 minutes, we do not need to wait longer.
    	return save(name, time.Minute)
    }
    
    // dataUsageCacheVer indicates the cache version.
    // Bumping the cache version will drop data from previous versions
    // and write new data with the new version.
    const (
    	dataUsageCacheVerCurrent = 8
    	dataUsageCacheVerV7      = 7
    	dataUsageCacheVerV6      = 6
    	dataUsageCacheVerV5      = 5
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. cmd/admin-handlers.go

    	}
    	setEventStreamHeaders(w)
    
    	// Trace Publisher and peer-trace-client uses nonblocking send and hence does not wait for slow receivers.
    	// Keep 100k buffered channel.
    	// If receiver cannot keep up with that we drop events.
    	traceCh := make(chan []byte, 100000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    	err = globalTrace.SubscribeJSON(traceOpts.TraceTypes(), traceCh, ctx.Done(), func(entry madmin.TraceInfo) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top