v1.10

Document

How to Start SequoiaDB

Basic Operation

Data Model

Database Management

Aggregation

Index

Replication

Cluster

Connector

Reference

Development

Release Note

FAQ

  • Content
  • Comments
  • History

Remove a Replica

NAME

removeNode - Delete the specified node in the replica group.

SYNOPSIS

rg.removeNode( < host >,< service >,[config])

CATEGORY

ReplicaGroup

DESCRIPTION

Delete the specified node in the replica group.

host (string)Node's hostname.service (string)Node's port number.config (json)Node's configuration information.FormatDefinition Format rg.removeNode() method has three parameters: host, service, config, as shown above, in the following format:("< hostname >","< port >"[,{< configparam >:value,...}])

Examples

Delete specified node from the replica group.

rg.removeNode("vmsvr2-suse-x64",11800)
Note:

The specified node to be deleted must exist, otherwise an exception will occur.

please login to comment.
Latest Comment
  • 2015-02-14

About Us

SequoiaDB is a financial-level distributed database vendor and is the first Chinese database listed in Gartner’s Magic Quadrant OPDBMS report. SequoiaDB has recently released version 3.0.
SequoiaDB is now penetrating the vertical sector Financial Industry quickly and had more than 50 banking clients and hundreds of enterprise customers in industries including government, telecommunication, Internet and IoT.

Beijing:
Tower R, No.8 North Star East Road, Chaoyang District, Beijing,China
Guangzhou:
Tower A, No.22 Qinglan Street, Panyu District, Guangzhou,China
Shenzhen:
Tsing Hua Tech Park, Nanshan District, Shenzhen,China
Tel:400-8038-339
E-mail:contact@sequoiadb.com