Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for _new (0.03 sec)

  1. cmd/erasure-object.go

    			versionID = mustGetUUID()
    			fi.IsLatest = true // we are creating a new version so this is latest.
    		}
    	}
    
    	modTime = UTCNow() // We only preserve modTime if dstOpts.MTime is true.
    	// in all other cases mtime is latest.
    
    	fi.VersionID = versionID // set any new versionID we might have created
    	fi.ModTime = modTime     // set modTime for the new versionID
    	if !dstOpts.MTime.IsZero() {
    		modTime = dstOpts.MTime
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    }
    
    // Initialize a new storage disk.
    func newXLStorage(ep Endpoint, cleanUp bool) (s *xlStorage, err error) {
    	immediatePurgeQueue := 100000
    	if globalIsTesting || globalIsCICD {
    		immediatePurgeQueue = 1
    	}
    	s = &xlStorage{
    		drivePath:      ep.Path,
    		endpoint:       ep,
    		globalSync:     globalFSOSync,
    		diskInfoCache:  cachevalue.New[DiskInfo](),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes_gen.go

    			if msgp.IsNil(bts) {
    				bts, err = msgp.ReadNilBytes(bts)
    				if err != nil {
    					return
    				}
    				z.ActualSize = nil
    			} else {
    				if z.ActualSize == nil {
    					z.ActualSize = new(int64)
    				}
    				*z.ActualSize, bts, err = msgp.ReadInt64Bytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "ActualSize")
    					return
    				}
    			}
    		case "IsDir":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    	// certificate that we can map to a policy.
    	if len(r.TLS.PeerCertificates) == 0 {
    		writeSTSErrorResponse(ctx, w, ErrSTSMissingParameter, errors.New("No client certificate provided"))
    		return
    	}
    	if len(r.TLS.PeerCertificates) > 1 {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, errors.New("More than one client certificate provided"))
    		return
    	}
    
    	certificate := r.TLS.PeerCertificates[0]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    				}
    			}
    			f.updateCurrentPath(folder.name)
    			stopFn := globalScannerMetrics.log(scannerMetricScanFolder, f.root, folder.name)
    			scanFolder(folder)
    			stopFn(map[string]string{"type": "new"})
    
    			// Add new folders if this is new and we don't have existing.
    			if !into.Compacted {
    				parent := f.updateCache.find(thisHash.Key())
    				if parent != nil && !parent.Compacted {
    					f.updateCache.deleteRecursive(h)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils.go

    	for _, t := range ri.Targets {
    		if t.Empty() || !t.ReplicationResynced {
    			continue
    		}
    		return true
    	}
    	return false
    }
    
    func (ri replicatedInfos) ReplicationStatusInternal() string {
    	b := new(bytes.Buffer)
    	for _, t := range ri.Targets {
    		if t.Empty() {
    			continue
    		}
    		fmt.Fprintf(b, "%s=%s;", t.Arn, t.ReplicationStatus.String())
    	}
    	return b.String()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. cmd/erasure-healing.go

    			return nil
    		}, index)
    	}
    	return reduceReadQuorumErrs(ctx, g.Wait(), bucketMetadataOpIgnoredErrs, readQuorum)
    }
    
    var errLegacyXLMeta = errors.New("legacy XL meta")
    
    var errOutdatedXLMeta = errors.New("outdated XL meta")
    
    var errPartMissingOrCorrupt = errors.New("part missing or corrupt")
    
    // Only heal on disks where we are sure that healing is needed. We can expand
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    			// Now we swap in a new.
    			newAcc := &AccElem{}
    			old := e.cached.Swap(newAcc)
    			var a AccElem
    			a.Size = atomic.LoadInt64(&old.Size)
    			a.Total = atomic.LoadInt64(&old.Total)
    			a.N = atomic.LoadInt64(&old.N)
    			e.mu.Lock()
    			e.lastMinuteLatency.addAll(t-1, a)
    			e.mu.Unlock()
    			acc = newAcc
    		} else {
    			// We may be able to grab the new accumulator by yielding.
    			runtime.Gosched()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    				if canWrite {
    					w.(http.Flusher).Flush()
    				}
    			}
    		}
    	}()
    	return &h
    }
    
    var poolBuf8k = sync.Pool{
    	New: func() interface{} {
    		b := make([]byte, 8192)
    		return &b
    	},
    }
    
    var poolBuf128k = sync.Pool{
    	New: func() interface{} {
    		b := make([]byte, 128<<10)
    		return b
    	},
    }
    
    // waitForHTTPStream will wait for responses where
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    			return context.Cause(ctx)
    		case newState := <-changed:
    			if newState == StateConnected {
    				return nil
    			}
    		}
    	}
    }
    
    /*
    var ErrDone = errors.New("done for now")
    
    var ErrRemoteRestart = errors.New("remote restarted")
    
    
    // Stateless connects to the remote handler and return all packets sent back.
    // If the remote is restarted will return ErrRemoteRestart.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top