diff --git a/build.gradle b/build.gradle index bf771c4289..d92c4ea889 100644 --- a/build.gradle +++ b/build.gradle @@ -16,8 +16,8 @@ buildscript { // TODO: Sort this alphabetically. ext.kotlin_version = constants.getProperty("kotlinVersion") - ext.quasar_group = 'co.paralleluniverse' - ext.quasar_version = '0.7.10' + ext.quasar_group = 'com.github.corda.quasar' + ext.quasar_version = '73f5cef96ecf8b57e4184bc3a255d225b03d5600' // gradle-capsule-plugin:1.0.2 contains capsule:1.0.1 by default. // We must configure it manually to use the latest capsule version. diff --git a/node/src/main/kotlin/net/corda/node/services/statemachine/FlowStateMachineImpl.kt b/node/src/main/kotlin/net/corda/node/services/statemachine/FlowStateMachineImpl.kt index 57282b96aa..0a8e38d0e0 100644 --- a/node/src/main/kotlin/net/corda/node/services/statemachine/FlowStateMachineImpl.kt +++ b/node/src/main/kotlin/net/corda/node/services/statemachine/FlowStateMachineImpl.kt @@ -1,7 +1,7 @@ package net.corda.node.services.statemachine import co.paralleluniverse.fibers.Fiber -import co.paralleluniverse.fibers.Fiber.parkAndSerialize +import co.paralleluniverse.fibers.Fiber.parkAndCustomSerialize import co.paralleluniverse.fibers.FiberScheduler import co.paralleluniverse.fibers.Suspendable import co.paralleluniverse.strands.Strand @@ -361,7 +361,7 @@ class FlowStateMachineImpl(override val id: StateMachineRunId, override fun suspend(ioRequest: FlowIORequest, maySkipCheckpoint: Boolean): R { val serializationContext = TransientReference(getTransientField(TransientValues::checkpointSerializationContext)) val transaction = extractThreadLocalTransaction() - parkAndSerialize { _, _ -> + parkAndCustomSerialize { setLoggingContext() logger.trace { "Suspended on $ioRequest" }