Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 3.02 KB

CHANGELOG.md

File metadata and controls

73 lines (53 loc) · 3.02 KB

Change log

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. See MAINTAINERS.md for instructions to keep up to date.

v1.1.2

Added

  • Added support for "requester pays" buckets on Google Storage in url, ex: gs://my-bucket/path?project=my-project-id

Removed

  • Removed 'forked' blocks references in the logs
  • Removed flags: --common-forked-blocks-store-url and --merger-prune-forked-blocks-after

v1.1.1

  • Added 'sf.firehose.v2.Fetch' endpoint
  • Added tools firehose-single-block-client command to use this endpoint

v1.1.0

Changes

  • firehose protocol bump from v1 to v2 (see upgrade procedure below)
  • Renamed 'mindreader' to 'reader' in all commands and flags
  • Reading blocks from merged blocks files is now more straightforward (blocks are assumed irreversible)
  • Bumped all firehose dependencies (from old versions)
  • Logs are now more verbose by default output to STDERR
  • Removed reader-node-merge-threshold-block-age (no more merging directly in the reader node, only the merger does it now)
  • New 'ready' stat in prometheus for services

UPGRADE Procedure

  1. stop mindreader and delete its state file (note the previous block, your next start block will be the block preceding the 100-block boundary ex: 12345 -> startBlock: 12299)
  2. stop the merger
  3. delete remaining "one-block-files" from your oneblock folder
  4. start new mindreader with flag changes and by specifying the new startBlock
  • rename all 'mindreader' mentions with just 'reader' (ex: start reader-node and --mindreader-node-data-dir becomes --reader-node-data-dir
  • rename --common-one-blocks-store-url to --common-one-block-store-url (no plural)
  • rename --mindreader-node-debug-deep-mind to --reader-node-debug-firehose-logs
  • remove --mindreader-node-discard-after-stop-num
  • remove --mindreader-node-merge-threshold-block-age
  • remove --mindreader-node-blocks-chan-capacity
  1. start the new merger with flag changes (...) and watch it catch with live
  • rename --common-one-blocks-store-url to --common-one-block-store-url (no plural)
  • remove --merger-time-between-store-lookups
  • remove --merger-writers-leeway
  • remove --merger-max-one-block-operations-batch-size
  • add --merger-time-between-store-pruning
  • add --merger-time-between-store-lookups
  1. replace the running relayer with the new one with flag changes
  • remove --relayer-merger-addr
  • remove --relayer-buffer-size
  • add --common-one-block-store-url
  1. wait for it to become ready (takes some time... but it worked)
  2. replace the firehose with the new one with flag changes:
  • remove firehose-real-time-tolerance
  • add --common-one-block-store-url

v1.0.0

Flags and environment variables

  • Renamed the mindreader application to reader
  • Renamed common-one-blocks-store-url to common-one-block-store-url
  • Renamed all the mindreader-node-* flags to reader-node-*