Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for property (0.15 sec)

  1. buildscripts/verify-healing.sh

    			echo "server$i log:"
    			cat "${WORK_DIR}/dist-minio-server$i.log"
    		done
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_heal() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		return 1
    	fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  2. cmd/tier-journal.go

    	}
    
    	b, err := je.MarshalMsg(nil)
    	if err != nil {
    		return err
    	}
    
    	jd.Lock()
    	defer jd.Unlock()
    	_, err = jd.file.Write(b)
    	if err != nil {
    		// Do not leak fd here, close the file properly.
    		Fdatasync(jd.file)
    		_ = jd.file.Close()
    
    		jd.file = nil // reset to allow subsequent reopen when file/disk is available.
    	}
    	return err
    }
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    		allGroupsFile: `{
      "mygroup": {
        "version": 1,
        "status": "enabled",
        "members": [
          "foo"
        ],
        "updatedAt": "2024-04-23T21:34:43.587429659Z"
      }
    }
    `,
    		// The `cn=projecty,..` group below is not under a configured DN, but we
    		// should still import without an error.
    		allSvcAcctsFile: `{
        "u4ccRswj62HV3Ifwima7": {
            "parent": "uid=svc.algorithm,OU=swengg,DC=min,DC=io",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. cmd/server_test.go

    			Key          string
    			UploadID     string `xml:"UploadId"`
    			Initiator    Initiator
    			Owner        Owner
    			StorageClass string
    			Initiated    time.Time // Keep this native to be able to parse properly.
    		}
    		Prefix         string
    		Delimiter      string
    		CommonPrefixes []CommonPrefix
    	}
    
    	// parse the response body.
    	decoder = xml.NewDecoder(response3.Body)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux_test.go

    	dir := t.TempDir()
    
    	mountsPath := filepath.Join(dir, "mounts")
    	if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil {
    		t.Fatal(err)
    	}
    	// Verifies if reading each line worked properly.
    	{
    		var mounts mountInfos
    		mounts, err = readProcMounts(mountsPath)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(mounts) != 3 {
    			t.Fatalf("expected 3 mounts, got %d", len(mounts))
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		// When request is properly signed, but has bad Content-MD5 header.
    		{mustNewSignedBadMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrBadDigest},
    		// When request is properly signed, error is none.
    		{mustNewSignedRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrNone},
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/handler-utils.go

    func getResource(path string, host string, domains []string) (string, error) {
    	if len(domains) == 0 {
    		return path, nil
    	}
    
    	// If virtual-host-style is enabled construct the "resource" properly.
    	xhost, err := xnet.ParseHost(host)
    	if err != nil {
    		return "", err
    	}
    
    	for _, domain := range domains {
    		if xhost.Name == minioReservedBucket+"."+domain {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  8. buildscripts/verify-healing-empty-erasure-set.sh

    			echo "server$i log:"
    			cat "${WORK_DIR}/dist-minio-server$i.log"
    		done
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_online() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		echo "1"
    	fi
    }
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	if err != nil && err != errFileNotFound {
    		return err
    	}
    	defer metaDataPoolPut(buf)
    
    	var xlMeta xlMetaV2
    	if !isXL2V1Format(buf) {
    		// This is both legacy and without proper version.
    		if err = xlMeta.AddVersion(fi); err != nil {
    			return err
    		}
    
    		buf, err = xlMeta.AppendTo(metaDataPoolGet())
    		defer metaDataPoolPut(buf)
    		if err != nil {
    			return err
    		}
    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)
  10. cmd/iam-etcd-store.go

    	// a large number of users
    	r, err := ies.client.Get(cctx, basePrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    	// Parse all users values to create the proper data model
    	for _, userKv := range r.Kvs {
    		if err = ies.getUserKV(ctx, userKv, userType, m, basePrefix); err != nil && err != errNoSuchUser {
    			return err
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top