Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for todos (0.27 sec)

  1. cmd/format-erasure.go

    	defer disk.Delete(context.TODO(), minioMetaBucket, tmpFormat, DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    
    	// write to unique file.
    	if err = disk.WriteAll(context.TODO(), minioMetaBucket, tmpFormat, formatData); err != nil {
    		return err
    	}
    
    	// Rename file `uuid.json` --> `format.json`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    				return nil, time.Time{}, nil
    			}
    		}
    
    		policy, ok := c.iamGroupPolicyMap.Load(name)
    		if ok {
    			return policy.toSlice(), policy.UpdatedAt, nil
    		}
    		if err := store.loadMappedPolicyWithRetry(context.TODO(), name, regUser, true, c.iamGroupPolicyMap, 3); err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return nil, time.Time{}, err
    		}
    		policy, _ = c.iamGroupPolicyMap.Load(name)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. internal/grid/muxclient.go

    	}
    	return m.parent.send(m.ctx, dst)
    }
    
    // RequestStateless will send a single payload request and stream back results.
    // req may not be read/written to after calling.
    // TODO: Not implemented
    func (m *muxClient) RequestStateless(h HandlerID, req []byte, out chan<- Response) {
    	if m.init {
    		out <- Response{Err: errors.New("mux client already used")}
    	}
    	m.init = true
    
    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)
  4. cmd/streaming-signature-v4.go

    	if !bytes.HasPrefix(sig, []byte("x-amz-trailer-signature:")) {
    		if cr.debug {
    			fmt.Printf("prefix, want prefix %q, got %q", "x-amz-trailer-signature:", string(sig))
    		}
    		return errMalformedEncoding
    	}
    
    	// TODO: It seems like we may have to be prepared to rewrite and sort trailing headers:
    	// https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html
    
    	// Any value must end with a newline.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    		// transitioned tier lies untouched and still accessible
    		opts.Transition.ExpireRestored = true
    		_, err := objectAPI.DeleteObject(ctx, oi.Bucket, oi.Name, opts)
    		if err == nil {
    			// TODO consider including expiry of restored object to events we
    			// notify.
    			auditLogLifecycle(ctx, *oi, ILMExpiry, tags, traceFn)
    		}
    		return err
    	}
    
    	// Delete remote object from warm-tier
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. internal/hash/reader.go

    	MD5, err := hex.DecodeString(md5Hex)
    	if err != nil {
    		return nil, BadDigest{ // TODO(aead): Return an error that indicates that an invalid ETag has been specified
    			ExpectedMD5:   md5Hex,
    			CalculatedMD5: "",
    		}
    	}
    	SHA256, err := hex.DecodeString(sha256Hex)
    	if err != nil {
    		return nil, SHA256Mismatch{ // TODO(aead): Return an error that indicates that an invalid Content-SHA256 has been specified
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		dataUsageBucket,           // creates .minio.sys/buckets
    		minioConfigBucket,         // creates .minio.sys/config
    	}
    	// Attempt to create MinIO internal buckets.
    	return disk.MakeVolBulk(context.TODO(), volumes...)
    }
    
    // Initialize a new storage disk.
    func newXLStorage(ep Endpoint, cleanUp bool) (s *xlStorage, err error) {
    	immediatePurgeQueue := 100000
    	if globalIsTesting || globalIsCICD {
    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)
  8. internal/s3select/csv/record.go

    			idx--
    			if idx >= len(r.csvRecord) || idx < 0 {
    				// If field index > number of columns, return null
    				return sql.FromNull(), nil
    			}
    			return sql.FromBytes([]byte(r.csvRecord[idx])), nil
    		}
    		// TODO: Return Missing?
    		return nil, fmt.Errorf("column %v not found", name)
    	}
    
    	if index >= int64(len(r.csvRecord)) {
    		// No value found for column 'name', hence return null
    		// value
    		return sql.FromNull(), nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Sep 13 00:00:59 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  9. docs/distributed/CONFIG.md

    > NOTE: MinIO environmental variables still take precedence over the `config.yaml` file, however `config.yaml` is preferred over MinIO internal config KV settings via `mc admin config set alias/ <sub-system>`.
    
    ### TODO
    
    In subsequent releases we are planning to extend this to provide things like
    
    - Reload() of MinIO server arguments without fully restarting the process.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. cmd/metacache_test.go

    			}
    
    			got := tt.finished()
    			if got != want {
    				t.Errorf("#%d: want %v, got %v", i, want, got)
    			}
    		})
    	}
    }
    
    func Test_metacache_worthKeeping(t *testing.T) {
    	// TODO: Update...
    	wantResults := []bool{0: true, 1: true, 2: true, 3: false, 4: false, 5: true, 6: true, 7: false, 8: false}
    
    	for i, tt := range metaCacheTestset {
    		t.Run(tt.id, func(t *testing.T) {
    			var want bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Viewed (0)
Back to top