package
0.0.0-20250312052118-2008840fee0c
Repository: https://github.com/couchbase/indexing.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package json implements encoding and decoding of JSON as defined in RFC 4627.
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
BucketMinSeqnos return list of {{vbno,seqno}..} for all vbuckets.
BucketSeqnos return list of {{vbno,seqno}..} for all vbuckets.
No description provided by the author
BucketTs return bucket timestamp for all vbucket.
CanMaintainShardAffinity - if shard affinity is enabled and storage mode is Plasma Should only be called from *indexer* and not from client/metadata_provider.
No description provided by the author
No description provided by the author
ChecksumAndCompress checksums and optionally compresses a byte slice, prepending an 8-byte header comprised of: header[0] - flags: bit 0 - compressed? bits 1-7 - unused bits header[1-4] - crc32 checksum written in big-endian order header[5-7] - unused bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Sequence numbers for a specific collections.
Sequence numbers for a specific collection.
CommonStrings returns intersection of two set of strings.
No description provided by the author
Convert ConfigValue to map[uint64]uint64 map Pass the ConfigValue of indexer.planner.internal.min_parititions_per_shard.
No description provided by the author
No description provided by the author
Use fixed length byte array so that indexer can compute the position of the SHA value in the stored entry without any special encoding.
Use fixed length byte array so that indexer can compute the position of the SHA value in the stored entry without any special encoding.
ConnectBucket will instantiate a couchbase-bucket instance with cluster.
ConnectBucket2 will instantiate a couchbase-bucket instance with cluster.
Console writes a message to the admin console (Logs page of UI).
No description provided by the author
CopyDir compose destination path based on source and, - if dest is file, and path is reachable, it is a no-op.
No description provided by the author
No description provided by the author
Create a copy of IndexInstMap by fixing Immutable flag in each instance's IndexDefn.
No description provided by the author
Crc64Checksum computes the CRC64 checksum of a byte slice using the highly recommended ECMA polynomial.
Crc64Update incrementally updates an existing CRC64 checksum with more bytes.
No description provided by the author
No description provided by the author
No description provided by the author
For standalone tests where MetaKV is not present, call this method to attempt MetaKV retry only once.
No description provided by the author
No description provided by the author
No description provided by the author
ExcludeStrings will exclude strings in `excludes` from `strs`.
ExcludeUint32 remove items from list.
ExcludeUint64 remove items from list.
ExitOnStdinClose is exit handler to be used with ns-server.
No description provided by the author
FailsafeOp can be used by gen-server implementors to avoid infinitely blocked API calls.
FailsafeOpAsync is same as FailsafeOp that can be used for asynchronous operation, that is, caller does not wait for response.
FailsafeOpAsync2 is same as FailsafeOpAsync that can be used for asynchronous operation, that is, caller does not wait for response.
FailsafeOpNoblock is same as FailsafeOpAsync that can be used for non-blocking operation, that is, if `reqch` is full caller does not block.
No description provided by the author
No description provided by the author
FetchNewClusterInfoCache returns a pointer to a new instance, so the anonymous mutex in the returned object only needs to be locked if the caller shares it among goroutines.
FetchNewClusterInfoCache2 does not do an Implicit Fetch() like FetchNewClusterInfoCache.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
-------------------------- Utility functions --------------------------.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This method fetch the bucket UUID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This method will fetch the collectionID.
GetColocatedHost find the server addr for localhost and return the same.
No description provided by the author
No description provided by the author
No description provided by the author
Note that the input prefix passed to this function should be exactly the same as return value of GetStatsPrefix().
GetIndexStats gets the index and/or indexer stats selected by the given filter from all indexer nodes in parallel (generalized from planner/proxy.go getIndexStats, which is integrated with Planner data structures) and returns them in a map from nodeUUID to stats.
GetInternalClusterVersion gets the internal version for the entire GSI cluster.
GetInternalIndexerVersion gets the internal version for all the indexer nodes.
No description provided by the author
No description provided by the author
GetKVAddrs gather the list of kvnode-address based on the latest vbmap.
------------------------------------------------------------ APIs and utility functions ------------------------------------------------------------.
GetLocalIP returns the first external IP configured for the first interface connected to this node.
IPv6 Support.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This method will fetch the scope and collection ID.
This method will fetch the scopeID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
For flattened array, returns the list of secExprs and the desc array before explosion.
No description provided by the author
Mapping of major and minor versions to indexer's internal representation of server versions.
No description provided by the author
No description provided by the author
No description provided by the author
HashVbuuid return crc64 value of list of 64-bit vbuuids.
HasString does membership check for a string.
HasUint32 does membership check for a uint32 integer.
HasUint64 does membership check for a uint32 integer.
No description provided by the author
No description provided by the author
No description provided by the author
Intersection operation on two sets of vbuckets, return a sorted list of vbuckets present in both set.
IsAllAllowed checks if the user creds have ALL of the specified permissions.
IsAllowed checks if the user creds have ANY of the specified permissions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsIPLocal return whether `ip` address is loopback address or compares equal with local-IP-address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxVbuckets return the number of vbuckets in bucket.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MetakvBigValueGet takes the virtual path of a big value token and retrieves and reassembles all its metakv pieces (stored as values of children /0, /1, /2, ..
MetakvBigValueList lists the virtual paths of each big value token stored under dirpath.
MetakvBigValueSet stores large tokens by breaking them up into pieces of max size METAKV_SIZE_LIMIT and storing the pieces under keys path/0, path/1, ....
No description provided by the author
No description provided by the author
MetakvList returns a slice of all entries (tokens) stored in dirpath in metakv.
No description provided by the author
No description provided by the author
No description provided by the author
MonitorServiceForPortChanges monitors the service change endpoint for port changes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBucketInfoProvider is factory to either get BucketInfo or ClusterInfoCache.
No description provided by the author
NewClusterInfoCache constructs a new, non-shared ClusterInfoCache object, so consumer does not need to lock it unless it is multi-threaded.
No description provided by the author
No description provided by the author
NewClusterInfoProvider is factory to get ClusterInfoClient or ClusterInfoCacheLiteClient.
NewCollectionInfoProvider is factory to either get CollectionInfo or ClusterInfoCache.
NewConfig from another Config object or from map[string]interface{} object or from []byte slice, a byte-slice of JSON string.
No description provided by the author
No description provided by the author
NewKeyPartitionContainer initializes a new KeyPartitionContainer and returns.
NewKeyVersions return a reference KeyVersions for a single mutation.
No description provided by the author
NewNodesInfoProvider is factory to either get NodesInfo or ClusterInfoCache.
No description provided by the author
NewOperationsMonitor Input: id A unique identifier, to be used in all the log messages belonging to the monitor maxOps Maximum number of operations that can be monitored at a given time interval Number of milliseconds in the monitor's interval batchSize Max number of operations to be processed in one iteration of the monitor.
No description provided by the author
No description provided by the author
No description provided by the author
Constructor .
No description provided by the author
Initialize change notifier object for a clusterUrl.
No description provided by the author
No description provided by the author
No description provided by the author
NewStatistics return a new instance of stat structure initialized with data.
NewStreamPayload returns a reference to payload, `nVb` provides the maximum number of vbuckets that can be carried by a payload.
NewTsVbuuid returns reference to new instance of TsVbuuid.
NewTsVbuuid returns reference to new instance of TsVbuuid.
No description provided by the author
No description provided by the author
No description provided by the author
NewVbKeyVersions return a reference to a single vbucket payload.
OpError suppliments FailsafeOp used by gen-servers.
No description provided by the author
When parsing an input string, indexer expects the following semantics: a.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RefreshSecurityContextOnTopology refreshes the security context on the topology updates.
RemoveString delete `item` from list `xs`.
RemoveUint16 delete `item` from list `xs`.
RemoveUint32 delete `item` from list `xs`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ShouldMaintainShardAfffinty - if shard affinity is enabled, cluster is on or ahead of 7.6 and storage mode is Plasma.
No description provided by the author
StreamID is unique id for a vbucket across buckets.
No description provided by the author
No description provided by the author
No description provided by the author
TraceMutexLOCK assists logging how long it took to lock a Mutex.
TraceMutexUNLOCK assists logging how long a Mutex was held.
TraceRWMutexLOCK assists logging how long it took to lock an RWMutex.
TraceRWMutexUNLOCK assists logging how long an RWMutex was held.
Union set operation on two sets of vbuckets, return a sorted list of vbuckets present in atleast one set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpdateOrRefreshSecurityContextOnTopologyChange updates the port mappings if endpointUpdate is not nil otherwise it refreshes the security context by doing a cluster info fetch.
No description provided by the author
No description provided by the author
Vbno16to32 converts vbucket type from uint16 to uint32.
Vbno32to16 converts vbucket type from uint32 to uint16.
This method is a light weight version of serviceChangeNotifier only used to retrieve and update cluster version.
WriteFileWithSync simulates iowrap.Ioutil_WriteFile but also syncs (forces bytes to disk) before closing.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
a dummy; must be last (for loops).
No description provided by the author
AnyConsistency indexer would return the most current data available at the moment.
HTTP_STATUS_FORBIDDEN.
HTTP_STATUS_UNAUTHORIZED.
Used when the Shard being transferred is of a BHIVE vector index.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Logical stream types (StreamId values).
No description provided by the author
No description provided by the author
No description provided by the author
Exponential back off.
Seconds.
No description provided by the author
control command.
control command.
control command.
control command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
2.5G.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
data command.
No description provided by the author
No description provided by the author
No description provided by the author
control command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Treated same as EUCLIDEAN_SQUARED internally.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
filler command for flusher(only used internally by indexer).
compressed flag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
usually application/json.
http.Request checksum field.
http.Response checksum field.
for HTTP_KEY_CONTENT_TYPE.
base (hex) of string-form ETag values in HTTP headers.
ETag value of 0 is treated as invalid or missing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Maitenance Stream.
Catchup In Progress.
Create Index Processed.
Drop Index Processed.
Error State: not a persistent state -- but used in function return value.
Initial Build In Progress.
Nil State (used for no-op / invalid) -- not a persistent state.
Index is stream is ready.
Recovered state: used for shard rebalance.
Scheduled state: used for the indexes scheduled for creation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Since there is a possibility of 7.7 version at the time of this patch, linear numbering scheme will not work for 8.0 version i.e.
Active(processing mutation and scan).
Initial Bootstrap.
No description provided by the author
No description provided by the author
Paused(not processing mutation/scan).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Note: Do not use this path for any setting other than writing the JSON {"indexer.default.enable_shard_affinity":<true|false>}' Otherwise, ns_server compatability would break.
No description provided by the author
No description provided by the author
No description provided by the author
Logical stream types (StreamId values).
No description provided by the author
No description provided by the author
Seconds.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Treated same as L2_SQUARED internally.
No description provided by the author
held mutex.
minimum lock wait/hold duration before logging it.
acquire lock for read.
waited for mutex.
acquire lock for write.
Logical stream types (StreamId values).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Used when moving multiple index instanes per transfer token Data of all the index instances on disk (a.k.a shard) is transferred to the destination node and index is rebuilt from the data on disk.
No description provided by the author
must be first (for loops).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
control command.
control command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error indicates that for a follower, an error was encountered during upload.
InProgess indicates that followers are actually performing the upload work.
No description provided by the author
Posted is the initial state as generated by master.
Processed indicates that for a follower, all the upload work is completed.
No description provided by the author
types of payload.
types of payload.
No description provided by the author
No description provided by the author
No description provided by the author
Used when the Shard being transferred is of a standard index(primary or secondary) or Shard of Composite Vector index.
No description provided by the author
No description provided by the author
No description provided by the author
Projector Version.
Projector Version.
Projector Version.
Projector Version.
Projector Version.
Projector Version.
Projector Version.
No description provided by the author
No description provided by the author
QueryConsistency indexer would accept a timestamp vector, and make sure to return a stable data-set that is atleast as recent as the timestamp-vector.
No description provided by the author
0 = instance is active (normal state); rebalance is NOT manipulating this inst.
instance is a proxy that has already been merged to the real instance.
rebalance action canceled but instance not returned to active state.
rebalance instance move not yet complete.
tombstone for deleted partition.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Per bucket phase - Not used currently.
Per bucket phase - Not used currently.
Per bucket phase - Not used currently.
Per bucket phase - Not used currently.
No description provided by the author
No description provided by the author
Per bucket phase - Not used currently.
Error indicates that for a follower, an error was encountered during download.
InProgess indicates that followers are actually performing the download work.
No description provided by the author
Posted is the initial state as generated by master.
Processed indicates that for a follower, all the download work is completed.
No description provided by the author
No description provided by the author
control command.
control command.
No description provided by the author
control command.
No description provided by the author
No description provided by the author
SessionConsistency indexer would query the latest timestamp from each KV node.
SessionConsistencyStrict indexer would query the latest timestamp with vbseqbos and vbuuids from each KV node.
No description provided by the author
No description provided by the author
This token state means that index instances on source node have been successfully deleted.
Initial state of the tokens: ShardTokenCreated After planner run, rebalance master posts all transfer tokens to metaKV with "ShardTokenCreated" state.
This states indicates that the token processing is done and the token can be deleted from metaKV.
After transfer token and its sibling move to ShardTokenReady state, rebalance master will generate a new token with this state and post it to metaKV.
If any error is encountered during rebalance, the state of the token can be updated to ShardTokenError.
When empty node batching is enabled, shard rebalancer will move the transfer token state to "ShardTokenMerge".
After all the indexes in a shard are recovered successfully, then the state of the transfer token is moved to "ShardTokenReady".
On a successful download, rebalance destination node will change the transfer token state to "ShardTokenRecoverShard" which indicates that the download is successful and indexer should now start to establih streams with KV nodes for index build catchup A metaKV token in this state means that the destination node has succecssfully downloaded shard data and is yet to start establishing KV streams.
Rebalance source node, on a successful transfer will update the state of transfer token to "ShardTokenRestoreShard", along with the path from which destination node can download the shard data to local file system.
Rebalance destination node will read the transfer token in state "ShardTokenScheduledOnSource", updates its in-memory book keeping with all the potential movements during index rebalance and changes the transfer token state to "ShardTokenScheduleAck" for further processing.
Rebalance Source node will read tokens (that are in "ShardTokenCreated" state) updates in-memory book-keeping with all the potential movements during rebalance and changes the transfer token state to "ShardTokenScheduledOnSource".
Rebalance master would wait for all the shard tokens to reach the "ShardTokenScheduleAck" state.
SigarControlGroupInfo.Supported value if cgroups are supported.
No description provided by the author
No description provided by the author
Used for moving single instance per transfer token when the index instance is built using DCP on destination node Default mode pre 7.2.0 versions.
control command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
minimum duration of a stats action before logging it.
No description provided by the author
No description provided by the author
0.
No description provided by the author
No description provided by the author
control command.
control command.
control command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
no source node; idx created on dest during rebalance (replica repair).
moving idx from source to dest.
No description provided by the author
No description provided by the author
No description provided by the author
2.
6.
1.
7.
x.
3.
4.
4.5 Dest (partitioned indexes only): No-op in processTokenAsDest;.
5.
x.
No description provided by the author
Default shard type value.
control command.
data command.
data command.

# Variables

No description provided by the author
List of errors leading to failure of index creation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrClientCancel when query client cancels an ongoing scan request.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Index not found.
magic string;.
Index not ready.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Ingress lockdown error.
No description provided by the author
No description provided by the author
No description provided by the author
ErrorAborted.
ErrorChannelFull.
ErrorClosed.
ErrorEmptyN1QLExpression.
No description provided by the author
ErrorInvalidRequest.
ErrorNotFound.
ErrorNotMyVbucket.
No description provided by the author
No description provided by the author
ErrorUnexpectedPayload.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrScanTimedOut from indexer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Byte slices for HTTP error response bodies.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
0-2ms, 2-10ms, 10-100ms, 100-500ms, 500ms-1s, 1-10s, 10-30s, 30s-Inf.
No description provided by the author
No description provided by the author
= 0.
ProtobufDataPathMinorNum minor version number for mutation data path.
No description provided by the author
No description provided by the author
SystemConfig is default configuration for system and components.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Thread safe byte buffer pool A buffer pointer received by Get() method should be put back using Put() method.
cbauth admin authentication helper Uses default cbauth env variables internally to provide auth creds.
Helper object for fetching cluster information Can be used by services running on a cluster node to connect with local management service for obtaining cluster information.
No description provided by the author
Helper object that keeps an instance of ClusterInfoCache cached and updated periodically or when things change in the cluster Readers/Consumers must lock cinfo before using it.
Threadsafe config holder object.
ConfigValue for each parameter.
convergent counter After the counter is updated in one node, any client can read the latest counter value by polling the counter from every node.
DataportKeyVersions accepted by this endpoint.
IndexDefn represents the index definition as specified during CREATE INDEX.
No description provided by the author
IndexInst is an instance of an Index(aka replica).
No description provided by the author
KeyPartitionContainer implements PartitionContainer interfacefor key based partitioning.
KeyPartitionDefn defines a key based partition in terms of topologyie its Id and Indexer Endpoints hosting the partition.
KeyVersions for a single mutation from KV for a subset of index.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Payload either carries `vbmap` or `vbs`.
No description provided by the author
No description provided by the author
No description provided by the author
Helper object to execute a function with retries and exponential backoff.
No description provided by the author
-------------------------- ScanResultEntries --------------------------.
-------------------------- ScanResultKey --------------------------.
No description provided by the author
No description provided by the author
No description provided by the author
Stubs to make ClusterInfoCache replaceable with NodesInfo and CollectionInfo.
TransferToken represents a sindgle index partition movement for rebalance or move index.
TsVb is logical clock for a subset of vbuckets.
TsVbFull is logical clock for full set of vbuckets.
TsVbuuid is logical clock for full set of vbuckets along with branch value and last seen snapshot.
No description provided by the author
VbConnectionMap specifies list of vbuckets and current vbuuids for each vbucket.
VbKeyVersions carries per vbucket key-versions for one or more mutations.
Holder for VbSeqnosReaderHolder.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
CollectionInfoProvider is an interface to query Collection Manifest.
Evaluator interface for projector, to be implemented by secondary-index or other entities.
IndexStatistics captures statistics for a range or a single key.
NodesInfoProvider is interface to query Nodes, NodesExt and ServerGroups information.
PartitionContainer contains all the partitions for an index instanceand provides methods to lookup topology information(i.e.
PartitionDefn is a generic interface which definesa partition.
Router definition for each instance (aka engine), where an instance might refer to an index or similar entities.
RouterEndpoint abstracts downstream for feed.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ByteSlices to implement Sort interface.
Config is a key, value map with key always being a string represents a config-parameter.
Consistency definition for index-scan queries.
Format of the data encoding, when it is being transferred over the wire from indexer to GsiClient during scan.
No description provided by the author
No description provided by the author
No description provided by the author
Endpoint provides an Indexer address(host:port)which is hosting a partition.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IndexerError - Runtime Error between indexer and other modules.
No description provided by the author
No description provided by the author
No description provided by the author
IndexInstList is a list of IndexInstances.
IndexInstMap is a map from IndexInstanceId to IndexInstance.
No description provided by the author
IndexSnapType represents the snapshot type created in indexer storage.
No description provided by the author
NOTE: This type needs to be in sync with smStrMap.
No description provided by the author
No description provided by the author
No description provided by the author
OperationTimeoutCallback takes as input: the total time elapsed since the operation was created using NewOperation().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RebalanceState (or "RState") gives the state of an *index instance*, NOT the state of rebalance, which may not even be going on.
No description provided by the author
RouterEndpointFactory will create a new endpoint instance for {topic, remote-address}.
No description provided by the author
SecondaryKey is secondary-key in the shape of - [ val1, val2, ..., valN ] where value can be any golang data-type that can be serialized into JSON.
ServerPriority - priority of the server to be elected as master when rebalance runs string should be in the format: MAJOR_VERSION.MINOR_VERSION.PATCH_VERSION-MPXX or MAJOR_VERSION.MINOR_VERSION.PATCH_VERSION-XXXX version can only range from [0,100).
No description provided by the author
No description provided by the author
No description provided by the author
Used to decide what kind of shard is being moved by the transfer tokens.
Statistics provide a type and method receivers for marshalling and un-marshalling statistics, as JSON, for components across the network.
No description provided by the author
StreamId represents the possible logical mutation streams (IDs defined below).
Stream Response Status Code.
No description provided by the author
TokenBuildSource is the type of the TransferToken.BuildSource field, which is currently unused but will be used in future when rebalance is done using file copy rather than DCP.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Map of sync.Pool per numVBuckets.
No description provided by the author
No description provided by the author
Vbuckets is temporary data type that can be used to sort list of uint16.
No description provided by the author