Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Conversation

@teogeb
Copy link
Contributor

@teogeb teogeb commented Mar 16, 2021

In streamr-dev/broker#211 we will update Broker to store only streams which are explicitly added to that StorageNode. There is only one StorageNode in each environment (production/dev). NOTE: do not merge this before that Broker PR is in master.

Modified addToStorageNode to wait until the information has been propagated to the Broker. At that point, we can be sure that any published data will be stored. To enable the propagation check, new client options were added: storageNode.address and storageNode.url.

Updated also all relevant integration tests: if a test does a resend for some stream, that stream must have been added to a StorageNode.

@linear
Copy link

linear bot commented Mar 16, 2021

NET-193 Coordinate testing after storage change

We need to make sure that the automated tests of related projects still pass after NET-32 is merged to master. Especially resend-related tests are vulnerable to breakage after this change. We should especially look into these projects and inform their authors of potentially breakage:

  • streamr-client-javascript
  • streamr-client-java
  • engine-and-editor
  • streamr-platform
  • streamr-client-testing

We should probably, to the extent that it is possible, try running the tests ourselves against the new broker branch / docker image, and try to fix any tests we can before merging.

@teogeb teogeb changed the title WIP: NET-193: Explicit storage nodes in tests NET-193: Storage config propagation Mar 24, 2021
@teogeb teogeb merged commit 8b3279b into master Apr 14, 2021
@teogeb teogeb deleted the NET-193-storage-node-config branch April 14, 2021 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants