Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename 'storagesheet' to 'sheet' #3323

Merged
merged 1 commit into from
Aug 22, 2018
Merged

Conversation

guyfedwards
Copy link
Contributor

the client now expects a node shape of sheet not storagesheet
update report.go to reflect this.

fixes #3322

the client now expects a node shape of `sheet` not `storagesheet`
update report.go to reflect this.

fixes #3322
@guyfedwards guyfedwards requested a review from satyamz August 22, 2018 13:28
Copy link
Contributor

@satyamz satyamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@guyfedwards guyfedwards merged commit 3431637 into master Aug 22, 2018
@guyfedwards guyfedwards deleted the sheet-storage-node-name branch August 22, 2018 14:08
@rade
Copy link
Member

rade commented Aug 22, 2018

AFAICT this is effectively a protocol change - new clients are unable to render old reports correctly. Correct?

This is particularly harmful in Weave Cloud, where users expect to be able to look back at reports going back as far as 13 months.

We have historically avoided making such changes, and when we have done so we typically introduced a report upgrade function that converts old reports to new on the fly.

@guyfedwards
Copy link
Contributor Author

That is correct. The client changed to only accept 'sheet' not 'storagesheet'. Are you suggesting this would be better handled in the client to accept either 'storagesheet' or 'sheet', or to add a 'report upgrade function'?

I can revert this change temporarily until we find a more concrete solution @rade

@guyfedwards
Copy link
Contributor Author

Added compatibility for old scope reports in ebd6376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when selecting 'Show storage' filter
3 participants