Skip to content

Remove Varnish purging and release v0.14.0#621

Merged
d00rman merged 1 commit into
wikimedia:masterfrom
d00rman:no-purges
May 26, 2016
Merged

Remove Varnish purging and release v0.14.0#621
d00rman merged 1 commit into
wikimedia:masterfrom
d00rman:no-purges

Conversation

@d00rman
Copy link
Copy Markdown
Contributor

@d00rman d00rman commented May 25, 2016

We will start emitting Varnish purge requests from Change Prop, so remove the hacky cruft code for that from RESTBase.

Note: cannot be deployed before Gerrit 290748

@d00rman
Copy link
Copy Markdown
Contributor Author

d00rman commented May 25, 2016

cc @wikimedia/services

@d00rman
Copy link
Copy Markdown
Contributor Author

d00rman commented May 25, 2016

The prod config change is in Gerrit 290786 so this PR should be deployed together with it, even though that's not strictly needed as this PR is compatible with old configs too.

@coveralls
Copy link
Copy Markdown

coveralls commented May 25, 2016

Coverage Status

Changes Unknown when pulling 90b5cd2 on d00rman:no-purges into * on wikimedia:master*.

Comment thread config.test.yaml Outdated
host: 127.0.0.1
port: 4321
uri: http://127.0.0.1:8085/v1/events
topic: resource_change
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We didn't add the events config here before, because

  • it's not strictly needed for testing
  • not adding it verified that RB doesn't crash if the config is not there
  • it makes tests slower a little bit since we make some additional requests

I don't have a strong opinion whether we should remove these 2 lines or leave them, up to you

@Pchelolo
Copy link
Copy Markdown
Contributor

A couple of nits inline (I'm being really picky here, it's not important at all), otherwise 👍

We will start emitting Varnish purge requests from Change Prop, so
remove the hacky cruft code for that from RESTBase.
@d00rman d00rman merged commit 911eb82 into wikimedia:master May 26, 2016
@d00rman d00rman deleted the no-purges branch May 26, 2016 08:22
@d00rman
Copy link
Copy Markdown
Contributor Author

d00rman commented May 26, 2016

Published as v0.14.0

wmfgerrit pushed a commit to wikimedia/operations-puppet that referenced this pull request May 26, 2016
Once If9bd7e2907986be944bd351b27a000cbb12f2448 gets out, RESTBase will
not need to issue Varnish purge requests, so clean up the config.

Note that this needs to get out in tandem with
wikimedia/restbase#621 and after
If9bd7e2907986be944bd351b27a000cbb12f2448 .

Change-Id: If50ef598bef64504016d57a56949751c855685fb
Depends-On: If9bd7e2907986be944bd351b27a000cbb12f2448
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants