ais

package
v1.3.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 77 Imported by: 0

Documentation

Overview

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Package ais provides core functionality for the AIStore object storage.

  • Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.

Index

Constants

View Source
const Silent = 1
View Source
const (
	TxnTimeoutMult = 2
)

GC

Variables

This section is empty.

Functions

func ExtractEndpoint

func ExtractEndpoint(path string) string

ExtractEndpoint extracts an S3 endpoint from the full URL path. Endpoint is a host name with port and root URL path (if exists). E.g. for AIS `http://localhost:8080/s3/bck1/obj1` the endpoint would be `localhost:8080/s3`

func Run

func Run(version, buildTime string) int

Run is the 'main' where everything gets started

Types

type AvgTracker

type AvgTracker struct {
	// contains filtered or unexported fields
}

AvgTracker keeps track of the average latency of all messages. Timeout: last received is more than the 'factor' of current average.

func (*AvgTracker) HeardFrom

func (a *AvgTracker) HeardFrom(id string, reset bool)

HeardFrom is called to indicate that a keepalive message (or equivalent) has been received.

func (*AvgTracker) TimedOut

func (a *AvgTracker) TimedOut(id string) bool

type ClusterMountpathsRaw

type ClusterMountpathsRaw struct {
	Targets cos.JSONRawMsgs `json:"targets"`
}

type HBTracker

type HBTracker struct {
	// contains filtered or unexported fields
}

HBTracker tracks the timestamp of the last time a message is received from a server. Timeout: a message is not received within the `interval`.

func (*HBTracker) HeardFrom

func (hb *HBTracker) HeardFrom(id string, _ bool)

func (*HBTracker) TimedOut

func (hb *HBTracker) TimedOut(id string) bool

type KeepaliveTracker

type KeepaliveTracker interface {
	// HeardFrom notifies tracker that the server identified by 'id' has responded;
	// 'reset'=true when it is not a regular keepalive call (could be reconnect or re-register).
	HeardFrom(id string, reset bool)
	// TimedOut returns true if the 'id` server did not respond - an indication that the server
	// could be down
	TimedOut(id string) bool
	// contains filtered or unexported methods
}

type Vote

type Vote string
const (
	VoteYes Vote = "YES"
	VoteNo  Vote = "NO"
)

type VoteInitiation

type VoteInitiation VoteRecord

type VoteInitiationMessage

type VoteInitiationMessage struct {
	Request VoteInitiation `json:"vote_initiation"`
}

type VoteMessage

type VoteMessage struct {
	Record VoteRecord `json:"vote_record"`
}

type VoteRecord

type VoteRecord struct {
	Candidate string    `json:"candidate"`
	Primary   string    `json:"primary"`
	Smap      *smapX    `json:"smap"`
	StartTime time.Time `json:"start_time"`
	Initiator string    `json:"initiator"`
}

type VoteResult

type VoteResult VoteRecord

type VoteResultMessage

type VoteResultMessage struct {
	Result VoteResult `json:"vote_result"`
}

Directories

Path Synopsis
Package backend contains implementation of various backend providers.
Package backend contains implementation of various backend providers.
Package s3 provides Amazon S3 compatibility layer
Package s3 provides Amazon S3 compatibility layer
Package integration contains AIS integration tests.
Package integration contains AIS integration tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL