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

Unknown setting no_cache #43

Closed
AntonKuzValid opened this issue Mar 7, 2019 · 1 comment
Closed

Unknown setting no_cache #43

AntonKuzValid opened this issue Mar 7, 2019 · 1 comment

Comments

@AntonKuzValid
Copy link

AntonKuzValid commented Mar 7, 2019

I have several clients written over jdbc using ch-proxy. i Have standard configuration -

log_debug: true

hack_me_please: true
server:
  http:
    listen_addr: ":9090"

users:
  - name: "..."


clusters:
  - name: ".."

     Requests are spread in `round-robin` + `least-loaded` fashion among nodes.
     Unreachable and unhealthy nodes are skipped.
    nodes: [
....
    ]

And when i'm trying to send a request with external data (using post method i suppose) ch-proxy adds paramter no_cache and click house throw an exception - Code: 115, e.displayText() = DB::Exception: Unknown setting no_cache.

I suppose it woud be nice to remove this

// disable cache for external_data queries
			params.Set("no_cache", "1")
			log.Debugf("external data params detected - cache will be disabled")
valyala added a commit that referenced this issue Mar 8, 2019
…params` in order to disable response caching for `external_data` queries
@valyala
Copy link
Contributor

valyala commented Mar 8, 2019

The issue should be fixed in v1.13.2

@valyala valyala closed this as completed Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants