- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for Cleanup (0.37 sec)
-
buildscripts/verify-healing-with-root-disks.sh
echo "A root disk is formatted unexpectedely" cat "${WORK_DIR}/server4.log" exit -1 fi } function cleanup() { pkill minio sudo umount ${WORK_DIR}/mnt/disk{1..3}/ sudo rm /dev/minio-loopdisk* rm -rf "$WORK_DIR" } (prepare_block_devices) (main "$@") rv=$? cleanup
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 26 05:07:25 GMT 2023 - 2.2K bytes - Viewed (0) -
docs/site-replication/run-multi-site-ldap.sh
#!/usr/bin/env bash # shellcheck disable=SC2120 exit_1() { cleanup echo "minio1 ============" cat /tmp/minio1_1.log cat /tmp/minio1_2.log echo "minio2 ============" cat /tmp/minio2_1.log cat /tmp/minio2_2.log echo "minio3 ============" cat /tmp/minio3_1.log cat /tmp/minio3_2.log exit 1 } cleanup() { echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Feb 14 04:51:23 GMT 2024 - 10K bytes - Viewed (1) -
cmd/object-api-utils.go
// provide a ReadCloser interface that unlocks on Close() type GetObjectReader struct { io.Reader ObjInfo ObjectInfo cleanUpFns []func() once sync.Once } // WithCleanupFuncs sets additional cleanup functions to be called when closing // the GetObjectReader. func (g *GetObjectReader) WithCleanupFuncs(fns ...func()) *GetObjectReader { g.cleanUpFns = append(g.cleanUpFns, fns...) return g }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
docs/site-replication/run-ssec-object-replication.sh
#!/usr/bin/env bash # shellcheck disable=SC2120 exit_1() { cleanup echo "minio1 ============" cat /tmp/minio1_1.log echo "minio2 ============" cat /tmp/minio2_1.log exit 1 } cleanup() { echo -n "Cleaning up instances of MinIO ..." pkill minio || sudo pkill minio pkill -9 minio || sudo pkill -9 minio rm -rf /tmp/minio{1,2} echo "done" } cleanup export MINIO_CI_CD=1 export MINIO_BROWSER=off
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 08:43:09 GMT 2024 - 9.7K bytes - Viewed (1) -
Makefile
@echo "Installing minio binary to '$(GOPATH)/bin/minio'" @mkdir -p $(GOPATH)/bin && cp -f $(PWD)/minio $(GOPATH)/bin/minio @echo "Installation successful. To learn more, try \"minio --help\"." clean: ## cleanup all generated assets @echo "Cleaning up all the generated files" @find . -name '*.test' | xargs rm -fv @find . -name '*~' | xargs rm -fv @find . -name '.#*#' | xargs rm -fv @find . -name '#*#' | xargs rm -fv
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:55:41 GMT 2024 - 10.3K bytes - Viewed (1) -
docs/site-replication/run-multi-site-minio-idp.sh
#!/usr/bin/env bash # shellcheck disable=SC2120 exit_1() { cleanup echo "minio1 ============" cat /tmp/minio1_1.log cat /tmp/minio1_2.log echo "minio2 ============" cat /tmp/minio2_1.log cat /tmp/minio2_2.log echo "minio3 ============" cat /tmp/minio3_1.log cat /tmp/minio3_2.log exit 1 } cleanup() { echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 07 00:19:24 GMT 2024 - 11.9K bytes - Viewed (0) -
cmd/format-erasure_test.go
} for _, erasureDir := range erasureDirs { defer os.RemoveAll(erasureDir) } endpoints := mustGetNewEndpoints(0, 8, erasureDirs...) storageDisks, errs := initStorageDisksWithErrors(endpoints, storageOpts{cleanUp: false, healthCheck: false}) for _, err := range errs { if err != nil && err != errDiskNotFound { t.Fatal(err) } } format := newFormatErasureV3(1, 8)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 15 08:25:46 GMT 2024 - 12.9K bytes - Viewed (0) -
cmd/metacache-manager.go
var exit bool for !exit { select { case <-t.C: case <-GlobalContext.Done(): exit = true } m.mu.RLock() for _, v := range m.buckets { if !exit { v.cleanup() } } m.mu.RUnlock() m.mu.Lock() for k, v := range m.trash { if time.Since(v.lastUpdate) > metacacheMaxRunningAge { v.delete(context.Background()) delete(m.trash, k) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Oct 25 00:44:15 GMT 2022 - 5.2K bytes - Viewed (0) -
cmd/admin-heal-ops.go
} // newHealState - initialize global heal state management func newHealState(ctx context.Context, cleanup bool) *allHealState { hstate := &allHealState{ healSeqMap: make(map[string]*healSequence), healLocalDisks: make(map[Endpoint]bool), healStatus: make(map[string]healingTracker), } if cleanup { go hstate.periodicHealSeqsClean(ctx) } return hstate }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 25.1K bytes - Viewed (1) -
cmd/erasure-object.go
unlockOnDefer = fi.InlineData() } pr, pw := xioutil.WaitPipe() go func() { pw.CloseWithError(er.getObjectWithFileInfo(ctx, bucket, object, off, length, pw, fi, metaArr, onlineDisks)) }() // Cleanup function to cause the go routine above to exit, in // case of incomplete read. pipeCloser := func() { pr.CloseWithError(nil) } if !unlockOnDefer { return fn(pr, h, pipeCloser, nsUnlocker) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 77.2K bytes - Viewed (2)