-
Notifications
You must be signed in to change notification settings - Fork 119
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
Data plane reconciler handles failed reconciliation. #568
Data plane reconciler handles failed reconciliation. #568
Conversation
Codecov Report
@@ Coverage Diff @@
## master #568 +/- ##
============================================
+ Coverage 71.79% 72.22% +0.43%
- Complexity 367 391 +24
============================================
Files 72 72
Lines 2581 2657 +76
Branches 121 112 -9
============================================
+ Hits 1853 1919 +66
- Misses 584 596 +12
+ Partials 144 142 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/test pull-knative-sandbox-eventing-kafka-broker-integration-tests |
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.
Minor comments
...ain/java/dev/knative/eventing/kafka/broker/core/reconciler/impl/ResourcesReconcilerImpl.java
Show resolved
Hide resolved
...ain/java/dev/knative/eventing/kafka/broker/core/reconciler/impl/ResourcesReconcilerImpl.java
Show resolved
Hide resolved
data-plane/receiver/src/main/java/dev/knative/eventing/kafka/broker/receiver/RequestMapper.java
Outdated
Show resolved
Hide resolved
|
I guess HPA gets in the way with chaosduck. |
b4e5c97
to
97bb560
Compare
/test pull-knative-sandbox-eventing-kafka-broker-integration-tests |
ed6cb91
to
d6c6418
Compare
data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/file/FileWatcher.java
Outdated
Show resolved
Hide resolved
c985d70
to
28e2454
Compare
/retest |
1 similar comment
/retest |
/retest |
/unhold |
Worked, retesting |
/retest |
Worked, retesting |
/test pull-knative-sandbox-eventing-kafka-broker-integration-tests |
/test pull-knative-sandbox-eventing-kafka-broker-unit-tests |
/retest |
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.
Small nit, otherwise sounds good to me
...ev/knative/eventing/kafka/broker/core/reconciler/impl/ResourcesReconcilerMessageHandler.java
Outdated
Show resolved
Hide resolved
/retest |
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
cd1f7f5
to
3517362
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierDipi, slinkydeveloper The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/test pull-knative-sandbox-eventing-kafka-broker-integration-tests |
…ons#568) * Update go.mod Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Reconciler handles failed verticles deploy Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Add more logging Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Logging: egress -> ingress Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Use CompositeFuture.join for egress reconciler Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Use computeIfAbsent Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Check Exception on delete egress Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Check only generation + explanation Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * There could be concurrent reconciliation using the event bus (?) Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * all -> join Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Refactor reconcile Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Move set new contract to help reasoning Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Delete benchmarks
…e-extensions#568) * Re-add limits Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Update remove_source_limits.patch Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Revert unrelated formatting Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> * Generate release artifacts Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
We were caching resources that failed to reconcile.
This leads to not retrying to reconcile such resources.
This PR handle failed reconciled resources by avoiding
caching them, simplify our reconciler code, and add
logging.
Proposed Changes
Release Note
Docs
/kind bug