]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed bug in cluster collection logic that caused it to not operate 86/4286/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 10 Jun 2020 18:43:29 +0000 (21:43 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 10 Jun 2020 19:14:19 +0000 (19:14 +0000)
commit892b7bb9be2147b5fe10036a75e798d184705339
tree0c55787fa01134ba18f6ace4724dc0a6d7981018
parent493ad14d923a70f20b8abd3f5c57e270ac477f55
Fixed bug in cluster collection logic that caused it to not operate

In case the first encountered resident cluster happened to be large
enough to cover the requested cluster collection size, the code would
collect no clusters at all.

Also contains improvements to dynamic cluster collection.

gitlab #556

Change-Id: I75773c688a4fec75d303493ca861c9a73071deac
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/util/SessionGarbageCollection.java
bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/ClusterTable.java