-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Configuration index, topologies, CDC archiving properties pages…
… (3.11) patch by taku333, Erick Ramirez; reviewed by Erick Ramirez for CASSANDRA-17444 Co-authored by: taku333 <19281989thezuka@gmail.com> Co-authored by: Erick Ramirez <erickramirezau@apache.org>
- Loading branch information
1 parent
311e26b
commit 84f6297
Showing
3 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
40 changes: 26 additions & 14 deletions
40
doc/modules/cassandra/pages/configuration/cass_cl_archive_file.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,60 @@ | ||
[[cassandra-cl-archive]] | ||
== commitlog-archiving.properties file | ||
= commitlog-archiving.properties file | ||
|
||
The `commitlog-archiving.properties` configuration file can optionally | ||
set commands that are executed when archiving or restoring a commitlog | ||
segment. | ||
|
||
== Options | ||
|
||
`archive_command=<command>` ------One command can be inserted with %path | ||
and %name arguments. %path is the fully qualified path of the commitlog | ||
segment to archive. %name is the filename of the commitlog. STDOUT, | ||
STDIN, or multiple commands cannot be executed. If multiple commands are | ||
=== `archive_command` | ||
|
||
One command can be inserted with `%path` | ||
and `%name` arguments. `%path` is the fully qualified path of the commitlog | ||
segment to archive. `%name` is the filename of the commitlog. `STDOUT`, | ||
`STDIN`, or multiple commands cannot be executed. If multiple commands are | ||
required, add a pointer to a script in this option. | ||
|
||
*Example:* archive_command=/bin/ln %path /backup/%name | ||
|
||
*Default value:* blank | ||
|
||
`restore_command=<command>` ------One command can be inserted with %from | ||
and %to arguments. %from is the fully qualified path to an archived | ||
commitlog segment using the specified restore directories. %to defines | ||
=== `restore_command` | ||
|
||
One command can be inserted with `%from` | ||
and `%to` arguments. `%from` is the fully qualified path to an archived | ||
commitlog segment using the specified restore directories. `%to` defines | ||
the directory to the live commitlog location. | ||
|
||
*Example:* restore_command=/bin/cp -f %from %to | ||
|
||
*Default value:* blank | ||
|
||
`restore_directories=<directory>` ------Defines the directory to scan | ||
the recovery files into. | ||
=== `restore_directories` | ||
|
||
Defines the directory to scan the recovery files into. | ||
|
||
*Example:* restore_directories=/path/to/restore_dir_location | ||
|
||
*Default value:* blank | ||
|
||
`restore_point_in_time=<timestamp>` ------Restore mutations created up | ||
=== `restore_point_in_time` | ||
|
||
Restore mutations created up | ||
to and including this timestamp in GMT in the format | ||
`yyyy:MM:dd HH:mm:ss`. Recovery will continue through the segment when | ||
the first client-supplied timestamp greater than this time is | ||
encountered, but only mutations less than or equal to this timestamp | ||
will be applied. | ||
|
||
*Example:* 2020:04:31 20:43:12 | ||
*Example:* restore_point_in_time=2020:04:31 20:43:12 | ||
|
||
*Default value:* blank | ||
|
||
`precision=<timestamp_precision>` ------Precision of the timestamp used | ||
=== `precision` | ||
|
||
Precision of the timestamp used | ||
in the inserts. Choice is generally MILLISECONDS or MICROSECONDS | ||
|
||
*Example:* precision=MICROSECONDS | ||
|
||
*Default value:* MICROSECONDS |
5 changes: 2 additions & 3 deletions
5
doc/modules/cassandra/pages/configuration/cass_topo_file.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters