Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 204 for could (0.13 sec)

  1. cmd/site-replication.go

    	for dID, pi := range arg.Peers {
    		if c.state.Peers != nil {
    			if existingPeer, ok := c.state.Peers[dID]; ok {
    				// retain existing ReplicateILMExpiry of peer if its already set
    				// and incoming arg has it false. it could be default false
    				if !pi.ReplicateILMExpiry && existingPeer.ReplicateILMExpiry {
    					pi.ReplicateILMExpiry = existingPeer.ReplicateILMExpiry
    				}
    			}
    		}
    		peers[dID] = pi
    	}
    	state := srState{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/xl-storage.go

    				dstBuf, err = xioutil.ReadFile(dstFilePath)
    				if err != nil && !osIsNotExist(err) {
    					return res, osErrToFileErr(err)
    				}
    			}
    		}
    	}
    
    	// Preserve all the legacy data, could be slow, but at max there can be 10,000 parts.
    	currentDataPath := pathJoin(dstVolumeDir, dstPath)
    
    	var xlMeta xlMetaV2
    	var legacyPreserved bool
    	var legacyEntries []string
    	if len(dstBuf) > 0 {
    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)
  3. internal/disk/fdatasync_linux.go

    // do not require flushing because they are not necessary for a subsequent data
    // read to be handled correctly. On the other hand, a change to the file size
    // (st_size, as made by say ftruncate(2)), would require a metadata flush.
    //
    // The aim of fdatasync() is to reduce disk activity for applications that
    // do not require all metadata to be synchronized with the disk.
    func Fdatasync(f *os.File) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  4. cmd/post-policy-fan-out.go

    	Checksum *hash.Checksum
    	MD5Hex   string
    }
    
    // fanOutPutObject takes an input source reader and fans out multiple PUT operations
    // based on the incoming fan-out request, a context cancellation by the caller
    // would ensure all fan-out operations are canceled.
    func fanOutPutObject(ctx context.Context, bucket string, objectAPI ObjectLayer, fanOutEntries []minio.PutObjectFanOutEntry, fanOutBuf []byte, opts fanOutOptions) ([]ObjectInfo, []error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. cmd/tier-sweeper.go

    package cmd
    
    import (
    	"context"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    // objSweeper determines if a transitioned object needs to be removed from the remote tier.
    // A typical usage would be like,
    // os := newObjSweeper(bucket, object)
    // // Perform a ObjectLayer.GetObjectInfo to fetch object version information
    // goiOpts := os.GetOpts()
    // gerr := objAPI.GetObjectInfo(ctx, bucket, object, goiOpts)
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. internal/grid/muxclient.go

    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    // response will send handleIncoming response to client.
    // may never block.
    // Should return whether the next call would block.
    func (m *muxClient) response(seq uint32, r Response) {
    	if debugReqs {
    		fmt.Println(m.MuxID, m.parent.String(), "RESP")
    	}
    	if debugPrint {
    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)
  7. internal/rest/client.go

    	if c.TraceOutput != nil && resp.StatusCode != http.StatusOK {
    		c.dumpHTTP(req, resp)
    	}
    
    	if resp.StatusCode != http.StatusOK {
    		// If server returns 412 pre-condition failed, it would
    		// mean that authentication succeeded, but another
    		// side-channel check has failed, we shall take
    		// the client offline in such situations.
    		// generally all implementations should simply return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. cmd/metacache-server-pool.go

    		o.BaseDir = baseDirFromPrefix(o.Prefix)
    	}
    	o.Transient = o.Transient || isReservedOrInvalidBucket(o.Bucket, false)
    	o.SetFilter()
    	if o.Transient {
    		o.Create = false
    	}
    
    	// We have 2 cases:
    	// 1) Cold listing, just list.
    	// 2) Returning, but with no id. Start async listing.
    	// 3) Returning, with ID, stream from list.
    	//
    	// If we don't have a list id we must ask the server if it has a cache or create a new.
    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)
  9. cmd/storage-datatypes.go

    	_, ok := fi.Metadata[ReservedMetadataPrefixLower+"inline-data"]
    	// Earlier MinIO versions didn't reset "x-minio-internal-inline-data"
    	// from fi.Metadata when the object was tiered. So, tiered objects
    	// would return true for InlineData() in these versions even though the
    	// object isn't inlined in xl.meta
    	return ok && !fi.IsRemote()
    }
    
    // SetInlineData marks object (version) as inline.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    }
    
    // Wrapper to restClient.Call to handle network errors, in case of network error the connection is disconnected
    // and a healthcheck routine gets invoked that would reconnect.
    func (client *storageRESTClient) call(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (io.ReadCloser, error) {
    	if values == nil {
    		values = make(url.Values)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top