Skip to content

Commit 7e7fa44

Browse files
Merge pull request hapifhir#801 from hapifhir/improve-default-partitioning
fix: set default value for request_tenant_partitioning_mode to true to support easy default partitioning
2 parents 42f436f + e9a1ddf commit 7e7fa44

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ public static class Partitioning {
855855
private Boolean database_partition_mode_enabled = false;
856856
private Boolean patient_id_partitioning_mode = false;
857857
private Integer default_partition_id = 0;
858-
private boolean request_tenant_partitioning_mode;
858+
private boolean request_tenant_partitioning_mode = true;
859859

860860
public boolean isRequest_tenant_partitioning_mode() {
861861
return request_tenant_partitioning_mode;

src/main/resources/application.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ hapi:
240240
# allow_references_across_partitions: false
241241
# partitioning_include_in_search_hashes: false
242242
# conditional_create_duplicate_identifiers_enabled: false
243+
# request_tenant_partitioning_mode: true
243244
cors:
244245
allow_Credentials: true
245246
# These are allowed_origin patterns, see: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/cors/CorsConfiguration.html#setAllowedOriginPatterns-java.util.List-

0 commit comments

Comments
 (0)