Skip to content

Commit e9a1ddf

Browse files
fix: set default value for request_tenant_partitioning_mode to true to support easy default partitioning
1 parent 6b5d24b commit e9a1ddf

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
@@ -237,6 +237,7 @@ hapi:
237237
# allow_references_across_partitions: false
238238
# partitioning_include_in_search_hashes: false
239239
# conditional_create_duplicate_identifiers_enabled: false
240+
# request_tenant_partitioning_mode: true
240241
cors:
241242
allow_Credentials: true
242243
# 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)