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

fix(device): use _attachEngine on create and upsert #405

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

sebtiz13
Copy link
Member

What does this PR do ?

Improve fix of race condition, use _attachEngine on create and upsert to prevent useless lock.

@sebtiz13 sebtiz13 added bug Something isn't working changelog:bug-fixes labels Feb 17, 2025
@sebtiz13 sebtiz13 self-assigned this Feb 17, 2025
@sebtiz13 sebtiz13 merged commit 94d44ed into master Feb 17, 2025
13 checks passed
@sebtiz13 sebtiz13 deleted the fix/attach-devices branch February 17, 2025 14:05
github-actions bot pushed a commit that referenced this pull request Feb 17, 2025
## [2.7.2](v2.7.1...v2.7.2) (2025-02-17)

### Bug Fixes

* **device:** use `_attachEngine` on create and upsert ([#405](#405)) ([94d44ed](94d44ed))
github-actions bot pushed a commit that referenced this pull request Feb 17, 2025
## [2.8.0-dev.6](v2.8.0-dev.5...v2.8.0-dev.6) (2025-02-17)

### Bug Fixes

* **device:** use `_attachEngine` on create and upsert ([#405](#405)) ([94d44ed](94d44ed))
* **digitalTwin:** correct race condition ([#398](#398)) ([8da2861](8da2861))
Juiced66 added a commit that referenced this pull request Feb 25, 2025
* feat(softTenants): add softTenant ids to assets measures documents (#383)

* chore(release): 2.5.0-dev.3 [skip ci]

# [2.5.0-dev.3](v2.5.0-dev.2...v2.5.0-dev.3) (2024-12-05)

### Features

* **softTenants:** add softTenant ids to assets measures documents ([#383](#383)) ([1b36fe0](1b36fe0))

* feat: add editor hint support (#386)

* chore(release): 2.5.0-dev.4 [skip ci]

# [2.5.0-dev.4](v2.5.0-dev.3...v2.5.0-dev.4) (2024-12-05)

### Features

* add editor hint support ([#386](#386)) ([a9b62df](a9b62df))

* fix(assetservice): can't replace metadata if not present in asset (#384)

* chore(release): 2.5.0-dev.5 [skip ci]

# [2.5.0-dev.5](v2.5.0-dev.4...v2.5.0-dev.5) (2024-12-05)

### Bug Fixes

* **assetservice:** can't replace metadata if not present in asset ([#384](#384)) ([eb65c0a](eb65c0a))

* chore(release): 2.5.0 [skip ci]

# [2.5.0](v2.4.4...v2.5.0) (2024-12-05)

### Bug Fixes

* **assetservice:** can't replace metadata if not present in asset ([#384](#384)) ([eb65c0a](eb65c0a))
* backport fix ([#380](#380)) ([5392b56](5392b56))

### Features

* add editor hint support ([#386](#386)) ([a9b62df](a9b62df))
* **measure:** allow measures to be pushed on Assets via API (no devices) ([#344](#344)) ([c1073c1](c1073c1))
* **softTenants:** add softTenant ids to assets measures documents ([#383](#383)) ([1b36fe0](1b36fe0))

* Kzlprd 724 etq utilisateur jvp cr er des rapport type par soft tenants et par groupes (#388)

* feat: add optional type for asset group

* fix: set type optional

* fix: change allow null for type

* chore: trigger release

* feat: trigger release

* chore(release): 2.6.0-beta.1 [skip ci]

# [2.6.0-beta.1](v2.5.0...v2.6.0-beta.1) (2025-01-08)

### Features

* trigger release ([9c82581](9c82581))

* fix(measure): add mutex to asset update to prevent race condition (#389)

* chore(release): 2.5.1 [skip ci]

## [2.5.1](v2.5.0...v2.5.1) (2025-01-09)

### Bug Fixes

* **measure:** add mutex to asset update to prevent race condition ([#389](#389)) ([53371f4](53371f4))

* docs: add since badges to ingestMeasure(s) method (#390)

Co-authored-by: rolljee <[email protected]>

* feat: update deps (#393)

* chore: update deps

* chore(release): 2.6.0-dev.1 [skip ci]

## [2.6.0-dev.1](v2.5.1...v2.6.0-dev.1) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))

* fix: typo in packages/package.json

* Pre release (#395)

* fix(measure): add mutex to asset update to prevent race condition (#389)

* chore(release): 2.5.1 [skip ci]

## [2.5.1](v2.5.0...v2.5.1) (2025-01-09)

### Bug Fixes

* **measure:** add mutex to asset update to prevent race condition ([#389](#389)) ([53371f4](53371f4))

* docs: add since badges to ingestMeasure(s) method (#390)

Co-authored-by: rolljee <[email protected]>

* feat: update deps (#393)

* chore: update deps

* chore(release): 2.6.0-dev.1 [skip ci]

## [2.6.0-dev.1](v2.5.1...v2.6.0-dev.1) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))

* fix: typo in packages/package.json

* chore(release): 2.6.0-dev.2 [skip ci]

## [2.6.0-dev.2](v2.6.0-dev.1...v2.6.0-dev.2) (2025-01-22)

### Features

* trigger release ([9c82581](9c82581))

### Bug Fixes

* conflict between ([adf8d0f](adf8d0f))
* typo in packages/package.json ([9b6c495](9b6c495))

---------

Co-authored-by: Sébastien Rodriguez <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: Juiced66 <[email protected]>

* fix: Trigger release

* chore(release): 2.6.0-beta.2 [skip ci]

## [2.6.0-beta.2](v2.6.0-beta.1...v2.6.0-beta.2) (2025-01-22)

### Bug Fixes

* Trigger release ([5025a0f](5025a0f))

* chore(release): 2.6.0 [skip ci]

## [2.6.0](v2.5.1...v2.6.0) (2025-01-22)

### Features

* trigger release ([9c82581](9c82581))
* Trigger release ([a800c54](a800c54))

### Bug Fixes

* Trigger release ([5025a0f](5025a0f))

* chore: update package.json of types

* chore(release): 2.7.0-dev.1 [skip ci]

## [2.7.0-dev.1](v2.6.0...v2.7.0-dev.1) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))

### Bug Fixes

* conflict between ([adf8d0f](adf8d0f))
* typo in packages/package.json ([9b6c495](9b6c495))

* chore(release): 2.7.0-beta.1 [skip ci]

## [2.7.0-beta.1](v2.6.0...v2.7.0-beta.1) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))

### Bug Fixes

* conflict between ([adf8d0f](adf8d0f))
* typo in packages/package.json ([9b6c495](9b6c495))

* chore(release): 2.7.0 [skip ci]

## [2.7.0](v2.6.0...v2.7.0) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))

### Bug Fixes

* conflict between ([adf8d0f](adf8d0f))
* typo in packages/package.json ([9b6c495](9b6c495))

* fix(digitalTwin): correct race condition (#398)

* chore(release): 2.7.1 [skip ci]

## [2.7.1](v2.7.0...v2.7.1) (2025-01-30)

### Bug Fixes

* **digitalTwin:** correct race condition ([#398](#398)) ([8da2861](8da2861))

* fix(device): use `_attachEngine` on create and upsert (#405)

* chore(release): 2.7.2 [skip ci]

## [2.7.2](v2.7.1...v2.7.2) (2025-02-17)

### Bug Fixes

* **device:** use `_attachEngine` on create and upsert ([#405](#405)) ([94d44ed](94d44ed))

* chore: configure next branch

* feat: embed measure slots in asset and device documents (#372)

BREAKING CHANGE: change in the management of measurement models

* feat: stop using measures from assets and devices in exporter (#369)

* chore(release): 3.0.0-next.1 [skip ci]

* embed measure slots in asset and device documents ([#372](#372)) ([ffa73b9](ffa73b9))
* **measure:** allow measures to be pushed on Assets via API (no devices) ([#344](#344)) ([c1073c1](c1073c1))
* stop using measures from assets and devices in exporter ([#369](#369)) ([6ee21a0](6ee21a0))

* change in the management of measurement models

* chore(release): 3.0.0-next.2 [skip ci]

# [3.0.0-next.2](v3.0.0-next.1...v3.0.0-next.2) (2024-11-18)

### Bug Fixes

* backport fix ([#380](#380)) ([5392b56](5392b56))
* getAsset should search in commons assets too ([#380](#380)) ([d588a93](d588a93))

* fix: pass tests after rebasing on master

* chore: lint

---------

Co-authored-by: Thomas Mauran <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: EnzoViry1 <[email protected]>
Co-authored-by: QuentinRousselet <[email protected]>
Co-authored-by: Sébastien Rodriguez <[email protected]>
Co-authored-by: cyrng <[email protected]>
Co-authored-by: Cyril Nguyen <[email protected]>
Co-authored-by: rolljee <[email protected]>
Co-authored-by: Alexandre Sollier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog:bug-fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants