-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fixing Failure when creating a cross-partition subscription if the default partition id is not null #6687
Conversation
Formatting check succeeded! |
hapi-fhir-base/src/main/java/ca/uhn/fhir/interceptor/model/RequestPartitionId.java
Outdated
Show resolved
Hide resolved
Request: can you put a logline in SubscriptionCanonicalizer to log something if no subscriptions match? Just to make tracking bugs down here a bit easier next time? |
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.
Also, please add a log line in SubscriptionMatchingSubscriber
so that when no subscriptions match, we have some loglines (warnings is my suggestion, but can ask in design)
hapi-fhir-base/src/main/java/ca/uhn/fhir/interceptor/model/RequestPartitionId.java
Show resolved
Hide resolved
...ces/ca/uhn/hapi/fhir/changelog/7_8_0/6686-failure-creating-cross-partition-subscription.yaml
Outdated
Show resolved
Hide resolved
...paserver-searchparam/src/main/java/ca/uhn/fhir/jpa/partition/IRequestPartitionHelperSvc.java
Outdated
Show resolved
Hide resolved
hapi-fhir-base/src/main/java/ca/uhn/fhir/interceptor/model/RequestPartitionId.java
Show resolved
Hide resolved
…creating-a-cross-partition-subscription-if-the-default-partition-id-is-not-null
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## rel_8_0 #6687 +/- ##
==========================================
Coverage ? 83.59%
Complexity ? 28647
==========================================
Files ? 1798
Lines ? 111328
Branches ? 13979
==========================================
Hits ? 93060
Misses ? 12269
Partials ? 5999 ☔ View full report in Codecov by Sentry. |
…creating-a-cross-partition-subscription-if-the-default-partition-id-is-not-null
…ion-subscription-if-the-default-partition-id-is-not-null
…ion-subscription-if-the-default-partition-id-is-not-null
Background:
Root cause of the issue:
invocation of RequestPartitionId.isDefaultParttition() only considers that the default partition id is and should be null;
What was done:
Closes #6686