-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ES consistency script into a separate stage.
While the script is the stage 069's counterpart in data4es-consistency-check, they share no functionality.
- Loading branch information
Showing
4 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
============= | ||
* Stage 071 * | ||
============= | ||
|
||
1. Description | ||
-------------- | ||
Checks that the given data is present in ElasticSearch. | ||
|
||
Input must contain at least 2 fields: | ||
{{{ | ||
{"_type": ..., "_id": ..., ...} | ||
... | ||
}}} | ||
|
||
_type and _id are required to retrieve the document from ES. All the other | ||
fields are compared with the document's corresponding ones. Results of the | ||
comparison are written to stderr. | ||
|
||
2. Running the stage | ||
-------------------- | ||
The stage can be run as following: | ||
|
||
./consistency.py --conf elasticsearch_config | ||
|
||
For more information about running the stage and its arguments, use: | ||
|
||
./consistency.py -h | ||
|
File renamed without changes.
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