Releases: streamingfast/substreams-sink-mongodb
v2.1.0
v2.0.1
Substreams Progress Messages
Important
This client only support progress messages sent from a to a server with substreams version >=v1.1.12
- Bumped substreams-sink to
v0.3.1and substreams tov1.1.12to support the new progress message format. Progression now relates to stages instead of modules. You can get stage information using thesubstreams infocommand starting at versionv1.1.12.
Changed Prometheus Metrics
substreams_sink_progress_messageremoved in favor ofsubstreams_sink_progress_message_total_processed_blockssubstreams_sink_progress_message_last_end_blockremoved in favor ofsubstreams_sink_progress_message_last_block(per stage)
Added Prometheus Metrics
- added
substreams_sink_progress_message_last_contiguous_block(per stage) - added
substreams_sink_progress_message_running_jobs(per stage)
v2.0.0
Highlights
This release drops support for Substreams RPC protocol sf.substreams.v1 and switch to Substreams RPC protocol sf.substreams.rpc.v2. As a end user, right now the transition is seamless. All StreamingFast endpoints have been updated to to support the legacy Substreams RPC protocol sf.substreams.v1 as well as the newer Substreams RPC protocol sf.substreams.rpc.v2.
Support for legacy Substreams RPC protocol sf.substreams.v1 is expected to end by June 6 2023. What this means is that you will need to update to at least this release if you are running substreams-sink-mongodb in production. Otherwise, after this date, your current binary will stop working and will return errors that sf.substreams.v1.Blocks is not supported on the endpoint.
From a database and operator standpoint, this binary is fully backward compatible with your current schema. Updating to this binary will continue to sink just like if you used a prior release.
Retryable Errors
The errors coming from MongoDB are not retried anymore and will stop the binary immediately.
Added
-
Added
--infinite-retryto never exit on error and retry indefinitely instead. -
Added
--development-modeto run in development mode.Warning You should use that flag for testing purposes, development mode drastically reduce performance you get from the server.
-
Added
--final-blocks-onlyto only deal with final (irreversible) blocks.