-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oracle-ES consistency #240
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
9903938
Add consistency query to stage 009.
Evildoor 42d55b3
Add script for consistency check to stage 069.
Evildoor f27f278
Get index name from config rather than code.
Evildoor af9f212
Check for index' existence before working.
Evildoor 4c560a6
Update documentation.
Evildoor 2296f6d
Add a very basic consistency check script.
Evildoor b8a2ab1
Generalize 069-consistency.
Evildoor acfe45a
Save and display the info about different tasks.
Evildoor e39efe2
Merge remote-tracking branch 'origin/master' into oracle-es-consistency
Evildoor 8a71791
Move certain shell functions to library.
Evildoor 90380a9
Remove DEBUG mode.
Evildoor 7bac202
Move ES consistency script into a separate stage.
Evildoor 12dd86e
Update a query description.
Evildoor 944b5a2
Update and explain a magic number.
Evildoor 26a1dfe
Reword es_connect() description.
Evildoor 20875b1
Change log prefixes to standard ones.
Evildoor 46cf0af
Fix pop() results handling.
Evildoor 72d85a9
Update ES parameters handling.
Evildoor cacba11
Remove batching of inconsistent records.
Evildoor 4d8eb83
Merge remote-tracking branch 'origin/master' into oracle-es-consistency
Evildoor 181fb14
Add consistency data samples.
Evildoor 7117242
Update the dataflow README.
Evildoor 165c5d2
Ignore two additional fields.
Evildoor 8f84d22
Change messages formatting.
Evildoor d195650
Add _parent field handling.
Evildoor 612bf52
Remove service fields before checking.
Evildoor 01ae258
Remove interpreter directives from lib files.
Evildoor 8f86ddd
Simplify a field retrieval.
Evildoor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for information: this check would cause
AuthorizationException
in case of remote connection via Nginx proxy:I updated proxy configuration to allow
HEAD
requests (to readable locations), as there`s no actual need to block them; so now there should be no problem with it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And (again, just for information), there was another way to hit the goal:
Even with
NotFoundError
it is possible to say one situation from another:And in case of the error -- or, maybe, even in case of any error, when
info['error']
is defined (but I am not sure if there can possibly be any other error) -- re-raise the exception to indicate that the process can not be continued. Maybe wrapping the exception intoDataflowException
.The only situation when it makes any difference is when during the process execution the index was removed or access policy changed: the check was successfully passed on the start, so any
NotFoundError
after this will be taken as "record missed", no matter what. But I don`t think it is likely to happen, so there`s nothing wrong in the one-time check.