-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Improve ElasticsearchTaskHandler #21942
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
Conversation
c862386 to
9c58a04
Compare
974635d to
09dde59
Compare
385eb49 to
3a1460b
Compare
|
This is a very needed fix. What is the status of the PR? |
|
@ashb Hello! Could you please review this PR? |
e2b54ff to
d02d6e0
Compare
d02d6e0 to
60fabe4
Compare
|
Looks like static checks/docs failing. |
ea2e057 to
76d7b93
Compare
|
Some tests are still failing :( |
c6d61dc to
c6345a8
Compare
Happens. Just rebase and let it re-run. I just did it - but please check if it succeed. and ping reviewers whwn it did (or fix it did not - sometimes the jobs fail intermittently and then re-running of just the failed job fixes it). Generally - you as the author should make sure it is green and ping reviewers when it is not, or where attempts to make it green failed. |
710b890 to
4af6779
Compare
|
@ryanahamilton @ashb @bbovenzi Please review |
|
There is a conflict now to solve. The change looks good with regards to it's "interfacing" with the airlfow core, but I do not know that many details about Elasticsearch to be able to verify it fully. I think ES is used by Astronomer heavily, so maybe some more thorough review could be indeed be done by someone from the team :) |
|
I need some time to see what changed in code, will try to resolve conflict in few days |
- use builtin logging.makeLogRecord instead of strange _ESJsonLogFmt - do not re-sort already sorted logs - apply ISO 8601 datetime format - fixed several found bugs
23e0118 to
5864fb9
Compare
|
Static check is failing |
2817d2d to
5864fb9
Compare
|
@potiuk I tried to inherit from newly added class |
Glad we added protection :) |
potiuk
left a comment
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.
LGTM but I would love someone from the committers to have elasticsearch experience to take a look.
|
@ryanahamilton @ashb @bbovenzi Please review |
|
Tested by @PatrykKlimowicz in #25177 . Merging. |
|
Thanks @PatrykKlimowicz for testing. |
Improve ElasticsearchTaskHandler: