Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for UUID (0.14 sec)

  1. cmd/xl-storage-format-v2.go

    		fi.VersionID = nullVersionID
    	}
    
    	var uv uuid.UUID
    	var err error
    	if fi.VersionID != "" && fi.VersionID != nullVersionID {
    		uv, err = uuid.Parse(fi.VersionID)
    		if err != nil {
    			return err
    		}
    	}
    
    	var dd uuid.UUID
    	if fi.DataDir != "" {
    		dd, err = uuid.Parse(fi.DataDir)
    		if err != nil {
    			return err
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  2. cmd/xl-storage-free-version.go

    // Free-version will be added if fi.VersionID has transitioned.
    func (x *xlMetaV2) AddFreeVersion(fi FileInfo) error {
    	var uv uuid.UUID
    	var err error
    	switch fi.VersionID {
    	case "", nullVersionID:
    	default:
    		uv, err = uuid.Parse(fi.VersionID)
    		if err != nil {
    			return err
    		}
    	}
    
    	for i, version := range x.versions {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    	}
    
    	err = obj.AbortMultipartUpload(context.Background(), bucket, "\\", res.UploadID, opts)
    	if err != nil {
    		switch err.(type) {
    		case InvalidUploadID:
    			t.Fatalf("%s: New Multipart upload failed to create uuid file.", instanceType)
    		default:
    			t.Fatalf(err.Error())
    		}
    	}
    }
    
    // Wrapper for calling AbortMultipartUpload tests for both Erasure multiple disks and single node setup.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. internal/store/queuestore.go

    func (store *QueueStore[I]) PutMultiple(item []I) error {
    	store.Lock()
    	defer store.Unlock()
    	if uint64(len(store.entries)) >= store.entryLimit {
    		return errLimitExceeded
    	}
    	// Generate a new UUID for the key.
    	key, err := uuid.NewRandom()
    	if err != nil {
    		return err
    	}
    	return store.multiWrite(key.String(), item)
    }
    
    // multiWrite - writes an item to the directory.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/metacache-marker.go

    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.set = int(v)
    		default:
    			// Ignore unknown
    		}
    	}
    }
    
    // encodeMarker will encode a uuid and return it as a marker.
    // uuid cannot contain '[', ':' or ','.
    func (o listPathOptions) encodeMarker(marker string) string {
    	if o.ID == "" {
    		// Mark as returning listing...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    	// Close the disk, mark it purposefully closed, only implemented for remote disks.
    	Close() error
    
    	// Returns the unique 'uuid' of this disk.
    	GetDiskID() (string, error)
    
    	// Set a unique 'uuid' for this disk, only used when
    	// disk is replaced and formatted.
    	SetDiskID(id string)
    
    	// Returns healing information for a newly replaced disk,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/object-api-options.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common.go

    import (
    	"bytes"
    	"context"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    func commonETags(etags []string) (etag string, maxima int) {
    	etagOccurrenceMap := make(map[string]int, len(etags))
    
    	// Ignore the uuid sentinel and count the rest.
    	for _, etag := range etags {
    		if etag == "" {
    			continue
    		}
    		etagOccurrenceMap[etag]++
    	}
    
    	maxima = 0 // Counter for remembering max occurrence of elements.
    	latest := ""
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    	if err := xl2.Load(trimmed); err == nil {
    		t.Fatal("metadata corruption not detected")
    	}
    }
    
    // TestUsesDataDir tests xlMetaV2.UsesDataDir
    func TestUsesDataDir(t *testing.T) {
    	vID := uuid.New()
    	dataDir := uuid.New()
    	transitioned := make(map[string][]byte)
    	transitioned[ReservedMetadataPrefixLower+TransitionStatus] = []byte(lifecycle.TransitionComplete)
    
    	toBeRestored := make(map[string]string)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    			driveState = madmin.DriveStateCorrupt
    		}
    
    		result.Before.Drives = append(result.Before.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    		})
    		result.After.Drives = append(result.After.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    		})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top