Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for scanDir (0.38 sec)

  1. cmd/data-usage-cache.go

    }
    
    type dataUsageCacheInfo struct {
    	// Name of the bucket. Also root element.
    	Name       string
    	NextCycle  uint32
    	LastUpdate time.Time
    	// indicates if the disk is being healed and scanner
    	// should skip healing the disk
    	SkipHealing bool
    
    	// Active lifecycle, if any on the bucket
    	lifeCycle *lifecycle.Lifecycle `msg:"-"`
    
    	// optional updates channel.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. cmd/server-main.go

    			})
    			defer t.Stop()
    		}
    
    		// Initialize data scanner.
    		bootstrapTrace("initDataScanner", func() {
    			if v := env.Get("_MINIO_SCANNER", config.EnableOn); v == config.EnableOn {
    				initDataScanner(GlobalContext, newObject)
    			}
    		})
    
    		// Initialize background replication
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  3. cmd/metrics.go

    			nil, nil),
    		prometheus.CounterValue,
    		float64(connStats.s3InputBytes),
    	)
    }
    
    // Populates prometheus with bucket usage metrics, this metrics
    // is only enabled if scanner is enabled.
    func bucketUsageMetricsPrometheus(ch chan<- prometheus.Metric) {
    	objLayer := newObjectLayerFn()
    	// Service not initialized yet
    	if objLayer == nil {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/minio-dashboard.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "rate(minio_node_scanner_objects_scanned{job=~\"$scrape_jobs\"}[$__rate_interval])",
              "interval": "1m",
              "legendFormat": "[{{server}}]",
              "refId": "A"
            }
          ],
          "title": "Scanned Objects",
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  5. schema/relationship.go

    		// case guessEmbeddedHas:
    		default:
    			schema.err = fmt.Errorf("invalid field found for struct %v's field %s: define a valid foreign key for relations or implement the Valuer/Scanner interface",
    				schema, field.Name)
    		}
    	}
    
    	switch gl {
    	case guessBelongs:
    		primarySchema, foreignSchema = relation.FieldSchema, schema
    	case guessEmbeddedBelongs:
    		if field.OwnerSchema == nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  6. tests/query_test.go

    	}
    }
    
    // https://github.com/go-gorm/gorm/issues/5091
    func TestQueryScannerWithSingleColumn(t *testing.T) {
    	user := User{Name: "scanner_raw_1", Age: 10}
    	DB.Create(&user)
    
    	var result1 DoubleInt64
    	if err := DB.Model(&User{}).Where("name LIKE ?", "scanner_raw_%").Limit(1).Pluck(
    		"age", &result1).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	AssertEqual(t, result1.data, 20)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    					UserAgent:    r.UserAgent() + " " + "MinIO-Fan-Out",
    					Host:         handlers.GetSourceIP(r),
    				})
    
    				auditLogInternal(context.Background(), AuditLogOptions{
    					Event:     "scanner:manyversions",
    					APIName:   "PostPolicyBucket",
    					Bucket:    eventArgsList[i].Object.Bucket,
    					Object:    eventArgsList[i].Object.Name,
    					VersionID: eventArgsList[i].Object.VersionID,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    // ActiveTasks returns the number of active (ongoing) ILM transition tasks.
    func (t *transitionState) ActiveTasks() int64 {
    	return t.activeTasks.Load()
    }
    
    // MissedImmediateTasks returns the number of tasks - deferred to scanner due
    // to tasks channel being backlogged.
    func (t *transitionState) MissedImmediateTasks() int64 {
    	return t.missedImmediateTasks.Load()
    }
    
    // worker waits for transition tasks
    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)
  9. cmd/bucket-replication.go

    		UserAgent:  "Internal: [Replication]",
    		Host:       globalLocalNodeName,
    	})
    
    	// re-queue failures once more - keep a retry count to avoid flooding the queue if
    	// the target site is down. Leave it to scanner to catch up instead.
    	if rinfos.ReplicationStatus() != replication.Completed {
    		ri.OpType = replication.HealReplicationType
    		ri.EventType = ReplicateMRF
    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)
  10. cmd/xl-storage-format-v2.go

    // using a delete-marker and MetaSys entries. It's used to track tiered content of a
    // deleted/overwritten version. This version is visible _only_to the scanner routine, for subsequent deletion.
    // This kind of tracking is necessary since a version's tiered content is deleted asynchronously.
    
    // Backend directory tree structure:
    // disk1/
    // └── bucket
    //     └── object
    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)
Back to top