]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed bug in cluster collection logic that caused it to not operate 09/4309/3
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 18:59:20 +0000 (18:59 +0000)
commit7bf383e9fe2456b7deda8d09c40c9a469b116612
tree01e60d5040de68c6741f3c33acddf3b6e349d8b4
parent07710b8d5004ddfc203ff18a2c3f7a361f952c52
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