Skip to content
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

Flag skipIsolationLevelCheck not set on engine configuration init from Webapps #4867

Closed
2 tasks done
joaquinfelici opened this issue Dec 31, 2024 · 2 comments
Closed
2 tasks done
Assignees
Labels
type:bug Issues that describe a user-facing bug in the project. version:7.22.2 version:7.23.0-alpha3 version:7.23.0

Comments

@joaquinfelici
Copy link
Contributor

joaquinfelici commented Dec 31, 2024

Environment (Required on creation)

Any

Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)

When process engine configuration is initialized from the webapps, in the QuerySessionFactory, the skipIsolationLevelCheck flag is not set and therefore not taken into account when initializing the datasource.

Steps to reproduce (Required on creation)

  1. Configure Camunda run with property:
camunda:
  bpm:
    generic-properties:
      properties:
        skip-isolation-level-check: true

and with a transaction level different from READ_COMMITED.

  1. Start camunda run.
  2. On engine initialization, no exception will be thrown because skip-isolation-level-check: true.
  3. Open "Admin" webapp and open "Execution Metrics".

Observed Behavior (Required on creation)

An exception will be thrown because the level is not correct and the flag is not set.

Expected behavior (Required on creation)

Same behavior as with engine initialization, the check should be skipped.

Root Cause (Required on prioritization)

The property is not manually retrieved from the config and passed over to the new configuration object here, as done for other properties.

Solution Ideas

Hints

Links

Breakdown

Pull Requests

Preview Give feedback
  1. bot:backport:7.22 ci:all-db
    joaquinfelici

Dev2QA handover

  • Does this ticket need a QA test and the testing goals are not clear from the description? Add a Dev2QA handover comment
@mboskamp
Copy link
Member

mboskamp commented Jan 8, 2025

Looks good. Do we need to backport this fix? The initial feature was delivered for 7.22 as well.

@joaquinfelici
Copy link
Contributor Author

Thanks @mboskamp, backport PR is merged as well.

hauptmedia added a commit to hauptmedia/operaton that referenced this issue Feb 12, 2025
…init

Related to camunda/camunda-bpm-platform#4867

Backported commit 50989d89fa from the camunda-bpm-platform repository.
Original author: Joaquín <joaquin.felici@camunda.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Issues that describe a user-facing bug in the project. version:7.22.2 version:7.23.0-alpha3 version:7.23.0
Projects
None yet
Development

No branches or pull requests

3 participants