Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MaintenanceClient

Index

Constructors

constructor

Methods

alarm

defragment

  • Defragment defragments a member's backend database to recover storage space.

    Parameters

    • Optional options: grpc.CallOptions

    Returns Promise<IDefragmentResponse>

downgrade

hash

  • Hash computes the hash of whole backend keyspace, including key, lease, and other buckets in storage. This is designed for testing ONLY! Do not rely on this in production with ongoing transactions, since Hash operation does not hold MVCC locks. Use "HashKV" API instead for "key" bucket consistency checks.

    Parameters

    • Optional options: grpc.CallOptions

    Returns Promise<IHashResponse>

hashKV

  • HashKV computes the hash of all MVCC keys up to a given revision. It only iterates "key" bucket in backend storage.

    Parameters

    Returns Promise<IHashKVResponse>

moveLeader

snapshot

status

Legend

  • Constructor
  • Method
  • Inherited method

Generated using TypeDoc