You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: stop tracker preheat from fully materializing OptionSet.options [2.42 port]
Ports #24850's fix from master to 2.42: preheat only the (option set,
code) pairs actually referenced by an import payload via a new
OptionValueSupplier, instead of OptionSetMapper forcing Hibernate to
fully materialize every touched OptionSet.options collection (including
JSONB attributevalues deserialization) regardless of how many option
codes the import actually references.
2.42 predates master's tracker/single-event domain split, so the
ported code uses 2.42's Event domain class instead of TrackerEvent.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/imports/bundle/DefaultTrackerBundleService.java
+98-1Lines changed: 98 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2004-2022, University of Oslo
2
+
* Copyright (c) 2004-2026, University of Oslo
3
3
* All rights reserved.
4
4
*
5
5
* Redistribution and use in source and binary forms, with or without
Copy file name to clipboardExpand all lines: dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/imports/config/TrackerPreheatConfig.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2004-2022, University of Oslo
2
+
* Copyright (c) 2004-2026, University of Oslo
3
3
* All rights reserved.
4
4
*
5
5
* Redistribution and use in source and binary forms, with or without
Copy file name to clipboardExpand all lines: dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/imports/preheat/TrackerPreheat.java
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2004-2022, University of Oslo
2
+
* Copyright (c) 2004-2026, University of Oslo
3
3
* All rights reserved.
4
4
*
5
5
* Redistribution and use in source and binary forms, with or without
Copy file name to clipboardExpand all lines: dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/tracker/imports/preheat/mappers/OptionSetMapper.java
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2004-2022, University of Oslo
2
+
* Copyright (c) 2004-2026, University of Oslo
3
3
* All rights reserved.
4
4
*
5
5
* Redistribution and use in source and binary forms, with or without
0 commit comments