Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for writeMetadata (0.13 sec)

  1. cmd/erasure-healing_test.go

    	// gone down when an object was replaced by a new object.
    	fileInfoOutDated := fileInfoPreHeal
    	fileInfoOutDated.ModTime = time.Now()
    	err = disk.WriteMetadata(context.Background(), "", bucket, object, fileInfoOutDated)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	_, err = er.HealObject(ctx, bucket, object, "", madmin.HealOpts{ScanMode: madmin.HealDeepScan})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		return err
    	}
    	defer metaDataPoolPut(wbuf)
    
    	return s.writeAllMeta(ctx, volume, pathJoin(path, xlStorageFormatFile), wbuf, !opts.NoPersistence)
    }
    
    // WriteMetadata - writes FileInfo metadata for path at `xl.meta`
    func (s *xlStorage) WriteMetadata(ctx context.Context, origvolume, volume, path string, fi FileInfo) (err error) {
    	if fi.Fresh {
    		if origvolume != "" {
    			origvolumeDir, err := s.getVolDir(origvolume)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    				DataBlocks:   4,
    				ParityBlocks: 4,
    				BlockSize:    blockSizeV2,
    				Index:        1,
    				Distribution: []int{0, 1, 2, 3, 4, 5, 6, 7},
    				Checksums:    nil,
    			},
    		}
    		if err := xl.WriteMetadata(ctx, "", volume, object, fi); err != nil {
    			t.Fatalf("Unable to create object, %s", err)
    		}
    	}
    	var deleted [len(versions)]bool
    	checkVerExist := func(t testing.TB) {
    		t.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top