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

Adding protoversion in config file #4263

Merged
merged 8 commits into from
Jun 23, 2021

Conversation

iamrodrigo
Copy link
Contributor

What changed?
Continuation of #4252. ProtoVersion is now a config value

Why?
Labeled as Up for grabs as good first issue in #3536. PR was divided in 2 request, first one making sure compatibility was correct, second one adding the actual config values

How did you test it?
Playing with some values in the development.yaml file. Let me know what other ways I can test this

Potential risks
Connection to cassandra might be broken

Release notes
Maybe? Let me know if you want me to do that in the second step

Documentation Changes
Likely to be the case. Let me know if I need to do this in the second step

Copy link
Collaborator

@longquanzheng longquanzheng left a comment

Choose a reason for hiding this comment

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

I believe we only need the changes under docker/ folder. Config changes under config/ is not necessary as they will default to the right version.

@iamrodrigo
Copy link
Contributor Author

@longquanzheng I'm not really familiar with cassandra but is there a case where someone is not using docker and wants to use a different protoversion? (either 2 or 3). if that's the case, wouldn't the config files the best way to do it? Just trying to understand this better!

@longquanzheng
Copy link
Collaborator

longquanzheng commented Jun 12, 2021 via email

@iamrodrigo iamrodrigo changed the base branch from master to 0.8.6 June 12, 2021 21:31
@iamrodrigo iamrodrigo changed the base branch from 0.8.6 to master June 12, 2021 21:31
@iamrodrigo
Copy link
Contributor Author

@longquanzheng friendly reminder to check this :)

@coveralls
Copy link

Pull Request Test Coverage Report for Build 913da920-7f17-43ba-93ba-061042fff29a

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 48 unchanged lines in 10 files lost coverage.
  • Overall coverage increased (+0.006%) to 60.166%

Files with Coverage Reduction New Missed Lines %
host/archivalTest.go 1 97.81%
service/history/execution/mutable_state_task_refresher.go 1 74.4%
common/persistence/historyManager.go 2 66.33%
common/task/fifoTaskScheduler.go 2 87.63%
common/types/mapper/thrift/shared.go 2 70.54%
service/history/queue/timer_queue_processor.go 2 58.77%
service/history/shard/context.go 2 65.84%
service/matching/matcher.go 2 91.46%
common/persistence/cassandra/cassandraPersistence.go 3 51.94%
common/persistence/cassandra/cassandraPersistenceUtil.go 31 84.92%
Totals Coverage Status
Change from base Build c492a118-34d9-4250-80d7-448c55b87f83: 0.006%
Covered Lines: 89915
Relevant Lines: 149444

💛 - Coveralls

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.

3 participants