dse advrep replog count
Returns the messages that have not been replicated.
A replication channel is a defined channel of change data between source clusters and destination clusters.
Command is supported only on nodes configured for DSE Advanced Replication. |
Use escaped quotes around keyspace and table names as command line arguments to preserve casing.
For example: |
Synopsis
dse advrep replog count
--source-keyspace <keyspace_name>
--source-table <source_table_name>
--destination <destination>
--data-center-id <data_center_id>
Details
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
|
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
--source-keyspace keyspace_name (required)
-
Define the source cluster keyspace for which to show count.
--source-table source_table_name (required)
-
Define the source table for which to show count.
--destination destination (required)
-
Define the destination for which to show count.
--data-center-id data_center_id
-
Define the data center for which to show the count.
Examples
To verify the record count held in a replication log:
-
command
-
Result
dse advrep replog count --destination mydest --source-keyspace foo --source-table bar
2