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

SUP-11538/fix for the update issue in the S3 field #1213

Merged
merged 1 commit into from
Jun 15, 2021

Conversation

rhoxhaj
Copy link
Contributor

@rhoxhaj rhoxhaj commented Jun 11, 2021

Abstract

This is a bugfix for this bug: [c.g.m.g.OrientDBDatabase] - com.orientechnologies.orient.core.storage.ORecordDuplicatedException: Cannot index record #319:0: found duplicated key '39a8e51a10e24f36a288301162194040/file' in index 'S3BinaryImpl' previously assigned to the record #318:0
https://jira.gentics.com/browse/SUP-11538#

@rhoxhaj rhoxhaj requested a review from plyhun June 11, 2021 09:12
@plyhun
Copy link
Contributor

plyhun commented Jun 14, 2021

All good. Please make a port to hotfix-1.6.x as well.

@rhoxhaj rhoxhaj merged commit 30eeb90 into dev Jun 15, 2021
@plyhun plyhun deleted the SUP-11538/bugfix/update-issue-S3 branch June 15, 2021 13:05
plyhun added a commit that referenced this pull request Nov 5, 2021
* CL-700: Webroot field GET (#1167) (#1170)

Webroot field GET

* CHANGELOG << v1.7.7

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.8-SNAPSHOT)

* Raise version

* Remove Johannes Schüth from core developers (#1169)

* Correctly message out empty file upload (#1177)

* Correctly message out empty file upload

* Typo fix

* Update common/src/main/resources/i18n/translations_de.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Update common/src/main/resources/i18n/translations_en.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Update common/src/main/resources/i18n/translations_zh.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Update translations_zh.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Squashed commit of the following:

commit f48de54
Author: Serhii Plyhun <snuk182@live.com>
Date:   Thu Mar 25 12:08:14 2021 +0100

    Changelog

commit 5cf1d6f
Author: Serhii Plyhun <snuk182@live.com>
Date:   Fri Mar 19 11:13:34 2021 +0100

    Bump OrientDB version to v3.1.10

* Update Tika Parser to 1.26 (#1184)

* Update Tika Parser to 1.26

* Changelog

* Tika Parser 1.26 related fixes

* Tika 1.26 parses more metadata, so the tests are updated accordingly.

* Improve plugin client endpoint creation for IP = 0.0.0.0 (#1174)

* Attempt to unit test OrientDB crashes during migration

* SUP-10829: Improve plugin client endpoint creation for IP = 0.0.0.0

* SUP-10829: Changelog

* SUP-10829: Remove leaked cluster tests

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>

* Unit test fixes

* Webroot path field monitoring fix

* Missing changelog update for Improve plugin client endpoint creation for IP = 0.0.0.0 (#1174)

* Missing changelog update for Improve plugin client endpoint creation for IP = 0.0.0.0 (#1174)

* Fix for Webroot Field unit tests for v1.7.x

* Fix of inexistent path resolving of the webroot-based calls (backport from 1.6.x)

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.9-SNAPSHOT)

* Bad changelog merge fix

* Attempt to unit test OrientDB crashes during migration (#1175)

* Attempt to unit test OrientDB crashes during migration

* Move cluster tortures into separate test

* Improve cluster torture stability

* Raise wait time for startup after kill for stability

* Remove status change stacktrace initiator

* Updating the cluster test base to edit the underlying folders

* Node backup creation test

* Add missing MeshContainer override part

* Stable run for Cluster Torture tests

* Cluster Torture test: check inner backup created on cluster node full sync + minor sanity fixes

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.10-SNAPSHOT)

* Changelog

* Changelog

* Implement plugin initialization retry if plugin init fails due to (#1205)

* Implement plugin initialization retry if plugin init fails due to
topology change

* The plugin that fails on its first initialization.

* Test plugin, that mutates DB data on startup

* PluginManager listens for the distributed DB events, reapplying plugins for the init - Targeted Cluster test

* PluginManager listens for the distributed DB events, reapplying plugins for the init - Cleanup #2

* Add changelog entry

* Add test for plugin init retry

* Fix tests to correctly wait for events

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>
Co-authored-by: Serhii Plyhun <snuk182@live.com>

* Implement topology change readonly behaviour (#1206)

* Implement topology change readonly behaviour

* Add Javadoc

* Add test and changelog entry

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* Add configuration option for cluster join timeout (#1207)

* Add configuration option for cluster join timeout

* Tidy up the changelog

* Tidy up the changelog #2

Co-authored-by: Serhii Plyhun <snuk182@live.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.11-SNAPSHOT)

* Revert "[Jenkins | dev] Prepare for the next development iteration (1.7.11-SNAPSHOT)"

This reverts commit 47ff9c5.

* Revert "Raise version"

This reverts commit 062d4e5.

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.11-SNAPSHOT)

* 2xPatch release changelog

* AWS S3 storage support (#1209)

* Feature/mesh s3 support (#1208)

Co-authored-by: apagtxhoxhaj <r.hoxhaj@gentics.com>
Co-authored-by: Péter Nyári <p.nyari@gentics.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.12-SNAPSHOT)

* SUP-11537/bugfix/fix permission issue in S3 (#1214)

* SUP-11538/fix for the update issue in the S3 field (#1213)

* Reduce server.jar size by updating AWS libraries

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.13-SNAPSHOT)

* LTS Changelog v1.6.14

* Changelog v1.7.12

* Hazelcast-Kubernetes updated to v1.5.6 (#1220)

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.14-SNAPSHOT)

* The field restrictions cannot be unset (#1225)

* SUP-11826: Test cases for the field restrictions not unset

* SUP-11826: Test cases for the field restrictions not unset pt.2

* SUP-11826: Fix for the field restrictions not unset

* SUP-11826: Document + Changelog

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.15-SNAPSHOT)

* Make it possible to do a rolling update of Mesh in a cluster,
if missing high level changes allow this

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.16-SNAPSHOT)

* Mesh UI updated to 1.3.0

* Get back lost OrientDB update

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.17-SNAPSHOT)

* Get db status from distributed manager, instead of (#1237)

keeping track based on events

* Prepare for the release

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.18-SNAPSHOT)

* Add liveness probe by regularly touching a file. (#1239)

Change readiness probe to check status of local storage

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* GPU-7: Moved ES checks and added waiting testing capabilities (#1233)

* GPU-7: Moved ES checks and added waiting testing capabilities

* GPU-7: Added WaitUtil Stubs and advanced testing

* GPU-7: Updated Unit-Tests to mocks

* Reverted unwanted changes

* GPU-7 Fix tests

* Added changelog entries

* Added documentation and review changes

* Moved wait-util provider-module into correct package

* Actualize the release version

Co-authored-by: Patrick Klaffenböck <p.klaffenboeck@gentics.com>
Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* Fix the AddFieldChangeTest: remove obsolete duplicated assertion

* Release ready

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.19-SNAPSHOT)

* CL-697: Generalize Database API

* CL-697: Generalize Database API #2

* CL-693: Make enterprise project buildable

* CL-693: Make enterprise project buildable #2

* Refactor the DAO APIs to implement less on the actual impls

* Refactor the DAO APIs to implement less on the actual impls, pt2

* Codereview feedback update

* CL-643: Codereview feedback merge 2

* CL-643: Move the missing getAPIPath impls into the general API

* CL-643: Move the missing impls into the general API pt.2

* CL-643: Correctly cast elements for the version retrieval

* Update OrientDB to v3.1.13 (#1242)

* Update OrientDB to 3.1.13

* Update OrientDB to 3.1.13 - changelog

* Update OrientDB to v3.1.13 - more changelogs

* Remove duplicate dependency (#1240)

* CL-643: Remove graphdb specific interface method (get|set)RoleUuidsForPerm()

* CL-643: More code generalizing: SchemaDao

* CL-643: SchemaDao/MicroschemaDao implementors hierarchy improved

* CL-643: Get back misplaced RootDao

* CL-643: Get back lost dependency

* CL-643: More generalized functions: UserDao

* CL-643: More generalized functions: UserDao pt.2

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: documentation pt.1

* Update ProjectVersionPurgeHandlerImpl.java (#1222)

When deleting old versions of nodes, files were not deleted from the disk. It seems that the reason is that there is no call to BulkActionContext.process after purging nodes.
Add BulkActionContext to purgeVersions method, push it to purgeVersion method, and finally call force process from BulkActionContext.

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: DB deletePersisted method

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Move OrientDB related API back to the corresponding entity API

* Revert "Update OrientDB to v3.1.13 - more changelogs"

This reverts commit 158d8fa.

* Revert "Update OrientDB to v3.1.13 (#1242)"

This reverts commit fda5d6d.

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Move API from DAO to Tx

* Fix memory consumption during migrations
by using a Queue instead of a List of objects to be migrated
and removing migrated objects from the Queue.

* Implement workaround for vert.x incorrectly handling non-local messages
with localConsumer

* Change jobverticle to be no worker verticle, but to (#1244)

run jobs with executeBlocking (which enables immediate publishing of
events)

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* Fix full sync to not remove language specific indices (#1247)

Fix "empty" permission update to not publish events

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Move API from DAO to Tx pt.2: Fix the StackOverflow on delete()

* Changelog update

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: SchemaDao adaptation + get rid of deprecated transformToRest in entities

* Add last known cause to thrown RuntimeException

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: SchemaDao adaptation pt.2

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the runtime errors

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: UserDAO - move getRolesHash

* Fix executing the changelog and storing Mesh version and DB revision
only when the write quorum has been reached and with a global lock.

* SUP-12285 return live member variable

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: MicroschemaDAO initial impl

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the update()

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the events management

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the roles hash fetch

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the roles hash fetch pt.2

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the roles hash fetch pt.2

* Fix mesh to change back to being "live" when failed plugin (#1252)

is undeployed.

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.20-SNAPSHOT)

* Fix the link

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Permissions model generalized

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: remove unused findAllDynamic()

* CL-643: Fix the recursive permissions

* CL-643: Move business logic out of RootVertex into DAOs

* CL-643: TraversalResult moved to public API. DAO API cleaned from duplicates.

* CL-643: Generalize field schema comparators

* SUP-12287 create writable endpoint (#1253)

* SUP-12287 create writable endpoint

* SUP-12287 streamline method names, implement test for writeQuorum not reached, force OModifiableDistributedConfiguration to increase document version

* SUP-12287 implement pr suggestions

- change log level to warn
- change url from cluster/writable to health/writable
- move test clean up logic to @after method
- add comments
- expose also a REST endpoint health/writable

* CL-643: Introduce HibReferencedElement counterpart. NodeDao loadObjectByUuid fix.

* CL-643: Fix the search model generator path

* SUP-12315 fix ES settings on update schema endpoint (#1256)

* Changelog update

* CL-643: Field schema change API (incomplete)

* CL-643: Fix the lost REST properties retrieval

* Add periodic check for elasticsearch indices. (#1257)

Add option to restrict index maintenance actions to specific indices
Let index maintenance actions run on the master, if cluster coordinator
is used

* Update Mesh UI to v1.3.1

* Changelog actualizing

* Changelog actualizing pt.2

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.21-SNAPSHOT)

* CL-643: Fix the incorrect error on the tag lost permissions

* CL-643: Move FieldSchemaContainerVersion.getBranches() to ContainerDAO

* CL-643: Move deleteVersion from SchemaContainerVersion into SchemaDAO

* CL-704 fix pom comment

* CL-704 fix BinaryFieldEndpointTest

* CL-704 fix testDeleteBinaryNodeDeduplication

it appears file name of uploaded binaries must be unique

* CL-704 fix GraphQLWaitSearchDurationEndpointTest

* CL-704 fix compile issue

* CL-704 fix compile issues

* CL-704 binaries and s3binaries are db specific

Co-authored-by: Serhii Plyhun II <snuk182@live.com>
Co-authored-by: Maven Release Manager <entwicklung@gentics.com>
Co-authored-by: Johannes Schüth <j.schueth@gentics.com>
Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>
Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>
Co-authored-by: Norbert Pomaroli <n.pomaroli@gentics.com>
Co-authored-by: apagtxhoxhaj <r.hoxhaj@gentics.com>
Co-authored-by: Péter Nyári <p.nyari@gentics.com>
Co-authored-by: Dominik Decker <d.decker@gentics.com>
Co-authored-by: Patrick Klaffenböck <p.klaffenboeck@gentics.com>
Co-authored-by: Дмитрий Капустин <kdima_tver@inbox.ru>
Co-authored-by: Umberto D'Ovidio <udovidio@gentics.com>
plyhun added a commit that referenced this pull request Nov 8, 2021
* CL-700: Webroot field GET (#1167) (#1170)

Webroot field GET

* CHANGELOG << v1.7.7

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.8-SNAPSHOT)

* Raise version

* Remove Johannes Schüth from core developers (#1169)

* Correctly message out empty file upload (#1177)

* Correctly message out empty file upload

* Typo fix

* Update common/src/main/resources/i18n/translations_de.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Update common/src/main/resources/i18n/translations_en.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Update common/src/main/resources/i18n/translations_zh.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Update translations_zh.properties

Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>

* Squashed commit of the following:

commit f48de54
Author: Serhii Plyhun <snuk182@live.com>
Date:   Thu Mar 25 12:08:14 2021 +0100

    Changelog

commit 5cf1d6f
Author: Serhii Plyhun <snuk182@live.com>
Date:   Fri Mar 19 11:13:34 2021 +0100

    Bump OrientDB version to v3.1.10

* Update Tika Parser to 1.26 (#1184)

* Update Tika Parser to 1.26

* Changelog

* Tika Parser 1.26 related fixes

* Tika 1.26 parses more metadata, so the tests are updated accordingly.

* Improve plugin client endpoint creation for IP = 0.0.0.0 (#1174)

* Attempt to unit test OrientDB crashes during migration

* SUP-10829: Improve plugin client endpoint creation for IP = 0.0.0.0

* SUP-10829: Changelog

* SUP-10829: Remove leaked cluster tests

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>

* Unit test fixes

* Webroot path field monitoring fix

* Missing changelog update for Improve plugin client endpoint creation for IP = 0.0.0.0 (#1174)

* Missing changelog update for Improve plugin client endpoint creation for IP = 0.0.0.0 (#1174)

* Fix for Webroot Field unit tests for v1.7.x

* Fix of inexistent path resolving of the webroot-based calls (backport from 1.6.x)

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.9-SNAPSHOT)

* Bad changelog merge fix

* Attempt to unit test OrientDB crashes during migration (#1175)

* Attempt to unit test OrientDB crashes during migration

* Move cluster tortures into separate test

* Improve cluster torture stability

* Raise wait time for startup after kill for stability

* Remove status change stacktrace initiator

* Updating the cluster test base to edit the underlying folders

* Node backup creation test

* Add missing MeshContainer override part

* Stable run for Cluster Torture tests

* Cluster Torture test: check inner backup created on cluster node full sync + minor sanity fixes

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.10-SNAPSHOT)

* Changelog

* Changelog

* Implement plugin initialization retry if plugin init fails due to (#1205)

* Implement plugin initialization retry if plugin init fails due to
topology change

* The plugin that fails on its first initialization.

* Test plugin, that mutates DB data on startup

* PluginManager listens for the distributed DB events, reapplying plugins for the init - Targeted Cluster test

* PluginManager listens for the distributed DB events, reapplying plugins for the init - Cleanup #2

* Add changelog entry

* Add test for plugin init retry

* Fix tests to correctly wait for events

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>
Co-authored-by: Serhii Plyhun <snuk182@live.com>

* Implement topology change readonly behaviour (#1206)

* Implement topology change readonly behaviour

* Add Javadoc

* Add test and changelog entry

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* Add configuration option for cluster join timeout (#1207)

* Add configuration option for cluster join timeout

* Tidy up the changelog

* Tidy up the changelog #2

Co-authored-by: Serhii Plyhun <snuk182@live.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.11-SNAPSHOT)

* Revert "[Jenkins | dev] Prepare for the next development iteration (1.7.11-SNAPSHOT)"

This reverts commit 47ff9c5.

* Revert "Raise version"

This reverts commit 062d4e5.

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.11-SNAPSHOT)

* 2xPatch release changelog

* AWS S3 storage support (#1209)

* Feature/mesh s3 support (#1208)

Co-authored-by: apagtxhoxhaj <r.hoxhaj@gentics.com>
Co-authored-by: Péter Nyári <p.nyari@gentics.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.12-SNAPSHOT)

* SUP-11537/bugfix/fix permission issue in S3 (#1214)

* SUP-11538/fix for the update issue in the S3 field (#1213)

* Reduce server.jar size by updating AWS libraries

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.13-SNAPSHOT)

* LTS Changelog v1.6.14

* Changelog v1.7.12

* Hazelcast-Kubernetes updated to v1.5.6 (#1220)

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.14-SNAPSHOT)

* The field restrictions cannot be unset (#1225)

* SUP-11826: Test cases for the field restrictions not unset

* SUP-11826: Test cases for the field restrictions not unset pt.2

* SUP-11826: Fix for the field restrictions not unset

* SUP-11826: Document + Changelog

Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.15-SNAPSHOT)

* Make it possible to do a rolling update of Mesh in a cluster,
if missing high level changes allow this

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.16-SNAPSHOT)

* Mesh UI updated to 1.3.0

* Get back lost OrientDB update

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.17-SNAPSHOT)

* Get db status from distributed manager, instead of (#1237)

keeping track based on events

* Prepare for the release

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.18-SNAPSHOT)

* Add liveness probe by regularly touching a file. (#1239)

Change readiness probe to check status of local storage

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* GPU-7: Moved ES checks and added waiting testing capabilities (#1233)

* GPU-7: Moved ES checks and added waiting testing capabilities

* GPU-7: Added WaitUtil Stubs and advanced testing

* GPU-7: Updated Unit-Tests to mocks

* Reverted unwanted changes

* GPU-7 Fix tests

* Added changelog entries

* Added documentation and review changes

* Moved wait-util provider-module into correct package

* Actualize the release version

Co-authored-by: Patrick Klaffenböck <p.klaffenboeck@gentics.com>
Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* Fix the AddFieldChangeTest: remove obsolete duplicated assertion

* Release ready

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.19-SNAPSHOT)

* CL-697: Generalize Database API

* CL-697: Generalize Database API #2

* CL-693: Make enterprise project buildable

* CL-693: Make enterprise project buildable #2

* Refactor the DAO APIs to implement less on the actual impls

* Refactor the DAO APIs to implement less on the actual impls, pt2

* Codereview feedback update

* CL-643: Codereview feedback merge 2

* CL-643: Move the missing getAPIPath impls into the general API

* CL-643: Move the missing impls into the general API pt.2

* CL-643: Correctly cast elements for the version retrieval

* Update OrientDB to v3.1.13 (#1242)

* Update OrientDB to 3.1.13

* Update OrientDB to 3.1.13 - changelog

* Update OrientDB to v3.1.13 - more changelogs

* Remove duplicate dependency (#1240)

* CL-643: Remove graphdb specific interface method (get|set)RoleUuidsForPerm()

* CL-643: More code generalizing: SchemaDao

* CL-643: SchemaDao/MicroschemaDao implementors hierarchy improved

* CL-643: Get back misplaced RootDao

* CL-643: Get back lost dependency

* CL-643: More generalized functions: UserDao

* CL-643: More generalized functions: UserDao pt.2

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: documentation pt.1

* Update ProjectVersionPurgeHandlerImpl.java (#1222)

When deleting old versions of nodes, files were not deleted from the disk. It seems that the reason is that there is no call to BulkActionContext.process after purging nodes.
Add BulkActionContext to purgeVersions method, push it to purgeVersion method, and finally call force process from BulkActionContext.

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: DB deletePersisted method

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Move OrientDB related API back to the corresponding entity API

* Revert "Update OrientDB to v3.1.13 - more changelogs"

This reverts commit 158d8fa.

* Revert "Update OrientDB to v3.1.13 (#1242)"

This reverts commit fda5d6d.

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Move API from DAO to Tx

* Fix memory consumption during migrations
by using a Queue instead of a List of objects to be migrated
and removing migrated objects from the Queue.

* Implement workaround for vert.x incorrectly handling non-local messages
with localConsumer

* Change jobverticle to be no worker verticle, but to (#1244)

run jobs with executeBlocking (which enables immediate publishing of
events)

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* Fix full sync to not remove language specific indices (#1247)

Fix "empty" permission update to not publish events

Co-authored-by: Serhii Plyhun II <snuk182@live.com>

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Move API from DAO to Tx pt.2: Fix the StackOverflow on delete()

* Changelog update

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: SchemaDao adaptation + get rid of deprecated transformToRest in entities

* Add last known cause to thrown RuntimeException

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: SchemaDao adaptation pt.2

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the runtime errors

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: UserDAO - move getRolesHash

* Fix executing the changelog and storing Mesh version and DB revision
only when the write quorum has been reached and with a global lock.

* SUP-12285 return live member variable

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: MicroschemaDAO initial impl

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the update()

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the events management

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the roles hash fetch

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the roles hash fetch pt.2

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Fix the roles hash fetch pt.2

* Fix mesh to change back to being "live" when failed plugin (#1252)

is undeployed.

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.20-SNAPSHOT)

* Fix the link

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: Permissions model generalized

* CL-643: Generalize more DAO business logic by introducing low level database API in DAOs: remove unused findAllDynamic()

* CL-643: Fix the recursive permissions

* CL-643: Move business logic out of RootVertex into DAOs

* CL-643: TraversalResult moved to public API. DAO API cleaned from duplicates.

* CL-643: Generalize field schema comparators

* SUP-12287 create writable endpoint (#1253)

* SUP-12287 create writable endpoint

* SUP-12287 streamline method names, implement test for writeQuorum not reached, force OModifiableDistributedConfiguration to increase document version

* SUP-12287 implement pr suggestions

- change log level to warn
- change url from cluster/writable to health/writable
- move test clean up logic to @after method
- add comments
- expose also a REST endpoint health/writable

* CL-643: Introduce HibReferencedElement counterpart. NodeDao loadObjectByUuid fix.

* CL-643: Fix the search model generator path

* SUP-12315 fix ES settings on update schema endpoint (#1256)

* Changelog update

* CL-643: Field schema change API (incomplete)

* CL-643: Fix the lost REST properties retrieval

* Add periodic check for elasticsearch indices. (#1257)

Add option to restrict index maintenance actions to specific indices
Let index maintenance actions run on the master, if cluster coordinator
is used

* Update Mesh UI to v1.3.1

* Changelog actualizing

* Changelog actualizing pt.2

* Raise version

* [Jenkins | dev] Prepare for the next development iteration (1.7.21-SNAPSHOT)

* CL-643: Fix the incorrect error on the tag lost permissions

* CL-643: Move FieldSchemaContainerVersion.getBranches() to ContainerDAO

* CL-643: Move deleteVersion from SchemaContainerVersion into SchemaDAO

* CL-704 fix pom comment

* CL-704 fix BinaryFieldEndpointTest

* CL-704 fix testDeleteBinaryNodeDeduplication

it appears file name of uploaded binaries must be unique

* CL-704 fix GraphQLWaitSearchDurationEndpointTest

* CL-704 fix compile issue

* CL-704 fix compile issues

* CL-704 binaries and s3binaries are db specific

Co-authored-by: Serhii Plyhun II <snuk182@live.com>
Co-authored-by: Maven Release Manager <entwicklung@gentics.com>
Co-authored-by: Johannes Schüth <j.schueth@gentics.com>
Co-authored-by: Bernhard Riegler <rieglerb@gmail.com>
Co-authored-by: Serhii Plyhun <S.Plyhun@gentics.com>
Co-authored-by: Norbert Pomaroli <n.pomaroli@gentics.com>
Co-authored-by: apagtxhoxhaj <r.hoxhaj@gentics.com>
Co-authored-by: Péter Nyári <p.nyari@gentics.com>
Co-authored-by: Dominik Decker <d.decker@gentics.com>
Co-authored-by: Patrick Klaffenböck <p.klaffenboeck@gentics.com>
Co-authored-by: Дмитрий Капустин <kdima_tver@inbox.ru>
Co-authored-by: Umberto D'Ovidio <udovidio@gentics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants