Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Sentry (0.14 sec)

  1. cmd/erasure-server-pool-rebalance.go

    				return true
    			}
    
    			return false
    		}
    
    		rebalanceEntry := func(entry metaCacheEntry) {
    			defer wk.Give()
    
    			if entry.isDir() {
    				return
    			}
    
    			// rebalance on poolIdx has reached its goal
    			if z.checkIfRebalanceDone(poolIdx) {
    				return
    			}
    
    			fivs, err := entry.fileInfoVersions(bucket)
    			if err != nil {
    				return
    			}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    				}
    			} else {
    				var outputRecord sql.Record
    				// We will attempt to reuse the records in the table.
    				// The type of these should not change.
    				// The queue should always have at least one entry left for this to work.
    				outputQueue = outputQueue[:len(outputQueue)+1]
    				if t := outputQueue[len(outputQueue)-1]; t != nil {
    					// If the output record is already set, we reuse it.
    					outputRecord = t
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    		atomic.StoreInt64(&e.cachedSec, t)
    	})
    	acc := e.cached.Load()
    	if lastT := atomic.LoadInt64(&e.cachedSec); lastT != t {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	w.Header()[xhttp.ETag] = []string{"\"" + etag + "\""}
    	hash.TransferChecksumHeader(w, r)
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // CompleteMultipartUploadHandler - Complete multipart upload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/metacache-stream_test.go

    	if err != io.EOF {
    		t.Fatal(err, entries.len())
    	}
    	want := loadMetacacheSampleNames
    	var noDirs []string
    	for i, entry := range entries.entries() {
    		if entry.name != want[i] {
    			t.Errorf("entry %d, want %q, got %q", i, want[i], entry.name)
    		}
    		if !entry.isDir() {
    			noDirs = append(noDirs, entry.name)
    		}
    	}
    	if entries.len() != len(want) {
    		t.Fatal("unexpected length:", entries.len(), "want:", len(want))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 15K bytes
    - Viewed (0)
  6. internal/logger/target/kafka/kafka.go

    	// from an internal channel.
    	for entry := range logCh {
    		h.logEntry(entry)
    	}
    }
    
    func (h *Target) logEntry(entry interface{}) {
    	atomic.AddInt64(&h.totalMessages, 1)
    	if err := h.send(entry); err != nil {
    		atomic.AddInt64(&h.failedMessages, 1)
    		h.kconfig.LogOnce(context.Background(), err, h.kconfig.Topic)
    	}
    }
    
    func (h *Target) send(entry interface{}) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  7. cmd/bucket-lifecycle.go

    		tasks += len(wrkr)
    	}
    	return tasks
    }
    
    // enqueueTierJournalEntry enqueues a tier journal entry referring to a remote
    // object corresponding to a 'replaced' object versions. This applies only to
    // non-versioned or version suspended buckets.
    func (es *expiryState) enqueueTierJournalEntry(je jentry) {
    	wrkr := es.getWorkerCh(je.OpHash())
    	if wrkr == nil {
    		es.stats.missedTierJournalTasks.Add(1)
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    				return true
    			default:
    				return false
    			}
    		}
    
    		decommissionEntry := func(entry metaCacheEntry) {
    			defer wk.Give()
    
    			if entry.isDir() {
    				return
    			}
    
    			fivs, err := entry.fileInfoVersions(bi.Name)
    			if err != nil {
    				return
    			}
    
    			// We need a reversed order for decommissioning,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  9. cmd/metacache-server-pool.go

    	// Write listing to results and saver.
    	go func() {
    		var returned bool
    		for entry := range inCh {
    			if !returned {
    				funcReturnedMu.Lock()
    				returned = funcReturned
    				funcReturnedMu.Unlock()
    				outCh <- entry
    				if returned {
    					xioutil.SafeClose(outCh)
    				}
    			}
    			entry.reusable = returned
    			saveCh <- entry
    		}
    		if !returned {
    			xioutil.SafeClose(outCh)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. cmd/admin-bucket-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case entry, ok := <-diffCh:
    			if !ok {
    				return
    			}
    			if err := enc.Encode(entry); err != nil {
    				return
    			}
    			if len(diffCh) == 0 {
    				// Flush if nothing is queued
    				w.(http.Flusher).Flush()
    			}
    		case <-keepAliveTicker.C:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top