Skip to content

Cardano DB Sync 13.6.0.4

Latest
Compare
Choose a tag to compare
@kderme kderme released this 03 Dec 00:43
· 5 commits to master since this release
13.6.0.4
0b7c281

It is required that users upgrade to this version of db-sync.

DB Sync 13.6.0.4 is a mainnet-ready release that is capable of crossing the Chang#2 hard fork. This update addresses a ledger issue where DRep delegations could be removed under some conditions.

Upgrading from older 13.5.x.x db-sync instance requires a ledger state replay from genesis. This doesn't affect the database.

The release is compatible with both 13.6 and 13.5 snapshots. These can be found at:

Network Link to snapshot
Mainnet-13.6 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.6/
Mainnet-13.5 https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13.5/

Changelog

https://github.com/IntersectMBO/cardano-db-sync/blob/13.6.0.4/CHANGELOG.md#13604

Known issues

For networks that were already in Protocol Version 10 (e.g. Preview and PreProd) before the upgrade to this release, the values of drep_distribution before the upgrade are not well defined and could be slightly different between different executions. This shouldn't have any cascading effect. For these networks it is advised to delete all ledger state files and let the ledger rules replay from genesis. You can read more about this issue here,

Documentation

Cardano DB Sync Overview
Building and Running the Cardano DB Sync Node
Schema Management
State snapshot
Smash

Postgres setup

It is advised to use a postgres version >= 14. The default docker postgres has been upgraded to 14.10-alpine.
There is a postgres requirement for users that don't use docker-compose and have to manually configure postgres:

It is advised to increase `maintenance_work_mem` from the Postgres configuration to 0.5GB - 1GB (the default is 64MB).
Also use the default (2) or higher for `max_parallel_maintenance_workers` (this parameter was introduced in `postgres` version 11)

Notes

When running db-sync make sure you enable only the data that you need. This can be configured in the db-sync config file as documented in configuration.md.

Platforms

  • Linux 64-bit
  • Docker
    Requires ghc-8.10.x to build.

Sign off

Role Approval
Technical Lead 🟢
Cardano Head of Engineering 🟢
Cardano Head of Product 🟢
Test Engineer 🟢
Site Reliability Engineer 🟢