From b9f202d17c1444f23e81512408bcfcbd3e6ae28a Mon Sep 17 00:00:00 2001 From: TipzCM Date: Thu, 25 Jul 2024 16:30:56 -0400 Subject: [PATCH] update to online (#6157) --- ...migration-on-idx-idxcmbtqknu-hashc-to-be-concurrent.yaml | 6 ++++++ .../fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java | 1 + 2 files changed, 7 insertions(+) create mode 100644 hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6156-updated-migration-on-idx-idxcmbtqknu-hashc-to-be-concurrent.yaml diff --git a/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6156-updated-migration-on-idx-idxcmbtqknu-hashc-to-be-concurrent.yaml b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6156-updated-migration-on-idx-idxcmbtqknu-hashc-to-be-concurrent.yaml new file mode 100644 index 00000000000..1015eb7a180 --- /dev/null +++ b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6156-updated-migration-on-idx-idxcmbtqknu-hashc-to-be-concurrent.yaml @@ -0,0 +1,6 @@ +--- +type: fix +issue: 6156 +title: "Index IDX_IDXCMBTOKNU_HASHC on table HFJ_IDX_CMB_TOK_NU's migration + is now marked as online (concurrent). +" diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java index 3457d4a622a..e085e7ec15b 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java @@ -414,6 +414,7 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks { version.onTable("HFJ_IDX_CMB_TOK_NU") .addIndex("20240625.10", "IDX_IDXCMBTOKNU_HASHC") .unique(false) + .online(true) .withColumns("HASH_COMPLETE", "RES_ID", "PARTITION_ID"); version.onTable("HFJ_IDX_CMP_STRING_UNIQ") .addColumn("20240625.20", "HASH_COMPLETE")