Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(remote-server): import task failed - optimize removed #10698

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

garnier-quentin
Copy link
Contributor

Description

When the remote server imports data there is an error at the end:
2022-02-10 07:46:38 - ERROR - Task #38 failed.
2022-02-10 07:46:38 - ERROR - Error message: There is no active transaction

It should finished like that:
2022-02-10 07:49:29 - INFO - Task #39 completed.

Optimize had been removed. It changes the schema so the commit is done and no transaction in progress.

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software
  • Updating documentation (missing information, typo...)

Target serie

  • 20.10.x
  • 21.04.x
  • 21.10.x
  • 22.04.x (master)

How this pull request can be tested ?

Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.

Any relevant details of the configuration to perform the test should be added.

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have made corresponding changes to the documentation.
  • I have rebased my development branch on the base branch (master, maintenance).

@garnier-quentin garnier-quentin requested review from a team, adr-mo and a-launois February 10, 2022 08:02
@sonarqube-decoration
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@kduret kduret merged commit 97cffc1 into develop Apr 28, 2022
@kduret kduret deleted the MON-12398-remote-server-import-task-failed branch April 28, 2022 09:16
lpinsivy pushed a commit that referenced this pull request Apr 28, 2022
lpinsivy pushed a commit that referenced this pull request Apr 28, 2022
lpinsivy pushed a commit that referenced this pull request May 5, 2022
lpinsivy pushed a commit that referenced this pull request May 5, 2022
lpinsivy pushed a commit that referenced this pull request May 5, 2022
emabassi-ext pushed a commit that referenced this pull request Jul 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants