Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for udpate (0.15 sec)

  1. cmd/object-handlers.go

    					// this basically means that we do not have the Data for the object
    					// cached yet
    					update = true
    				})
    				if !update {
    					// No update is needed means we have written already to the client just return here.
    					return
    				}
    			}
    		}
    
    		if errors.Is(err, cache.ErrKeyMissing) {
    			update = true
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	expectedMap := http.Header{}
    	expectedMap.Set("Access-Control-Allow-Credentials", "true")
    	expectedMap.Set("Access-Control-Allow-Origin", "http://foobar.com")
    	expectedMap["Access-Control-Expose-Headers"] = []string{
    		"Date",
    		"Etag",
    		"Server",
    		"Connection",
    		"Accept-Ranges",
    		"Content-Range",
    		"Content-Encoding",
    		"Content-Length",
    		"Content-Type",
    		"Content-Disposition",
    		"Last-Modified",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    		metric.Histogram[k] = v
    	}
    	return metric
    }
    
    // Get - returns cached value always upton the configured TTL,
    // once the TTL expires "read()" registered function is called
    // to return the new values and updated.
    func (g *MetricsGroupV2) Get() (metrics []MetricV2) {
    	m, _ := g.metricsCache.Get()
    	if len(m) == 0 {
    		return []MetricV2{}
    	}
    
    	metrics = make([]MetricV2, 0, len(m))
    	for i := range m {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    				return nil
    			}
    		}
    		opts := updateServiceAccountOpts{
    			secretKey:     change.Update.SecretKey,
    			status:        change.Update.Status,
    			name:          change.Update.Name,
    			description:   change.Update.Description,
    			sessionPolicy: sp,
    			expiration:    change.Update.Expiration,
    		}
    
    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)
  5. cmd/bucket-replication.go

    				ri.OpType == replication.ExistingObjectReplicationType {
    				// if metadata is not updated for some reason after replication, such as
    				// 503 encountered while updating metadata - make sure to set ReplicationStatus
    				// as Completed.
    				//
    				// Note: Replication Stats would have been updated despite metadata update failure.
    				rinfo.ReplicationAction = rAction
    				rinfo.ReplicationStatus = replication.Completed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/admin-handlers.go

    	if objectAPI == nil {
    		return
    	}
    
    	if globalInplaceUpdateDisabled || currentReleaseTime.IsZero() {
    		// if MINIO_UPDATE=off - inplace update is disabled, mostly in containers.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrMethodNotAllowed), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	updateURL := vars["updateURL"]
    	mode := getMinioMode()
    	if updateURL == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Failed to create new streaming signed HTTP request: <ERROR> %v.", err)
    		}
    		switch test.fault {
    		case BadSignature:
    			// Reset date field in header to make streaming signature fail.
    			req.Header.Set("x-amz-date", "")
    		case TooBigDecodedLength:
    			// Set decoded length to a large value out of int64 range to simulate parse failure.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top