mirror of
https://github.com/corda/corda.git
synced 2025-01-20 11:39:09 +00:00
598228634f
Performance tuning of the new checkpoint schema; - Checkpoint tables are now using `flowId` as join keys. - Indexes consist of a PK's index on `node_checkpoints(flow_id)` and then unique indexes on `node_checkpoint_blobs(flow_id)` and `node_flow_metadata(flow_id)`. - Serialization of `checkpointState` is being done with `CHECKPOINT_CONTEXT` so that we can have compression. This is needed when messages get passed into `checkpointState.sessions` therefore `checkpointState` grows in size upon serialized and saved into the database. * Deserialize checkpointState with CHECKPOINT_CONTEXT * Align tests with schema update; We cannot add and update a checkpoint in the same session now, ends up with hibernate complaining: two different objects with same identifier * Fix indentation and format * Ignore tests that assert DBFlowResult or DBFlowException * Set DBFlowCheckpoint.blob to null whenever the flow errors or hospitalizes; this way we save an extra SELECT in such cases; * Fix test; cleared Hibernate session, it would fail at checkpoint with 'org.hibernate.NonUniqueObjectException' * Changing VARCHAR to NVARCHAR * Rename v17 liquibase scripts to v19 to resolve collision with ENT v17 scripts |
||
---|---|---|
.. | ||
capsule | ||
djvm | ||
src | ||
build.gradle |