Skip to content

Commit

Permalink
Merge pull request #8133 from influxdata/jw-max-row-limit
Browse files Browse the repository at this point in the history
Disable max-row-limit by default
  • Loading branch information
jwilder committed Mar 14, 2017
2 parents 3ec60fe + c9740f7 commit 1bcf3ae
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## v1.2.2 [2017-03-14]

### Release Notes

### Configuration Changes

#### `[http]` Section

* `max-row-limit` now defaults to `0`. The previous default was `10000`, but due to a bug, the value in use since `1.0` was `0`.

### Bugfixes

- [#8050](https://github.com/influxdata/influxdb/issues/8050): influxdb & grafana, absence of data on the graphs

## v1.2.1 [2017-03-08]

### Release Notes
Expand Down
2 changes: 1 addition & 1 deletion cmd/influxd/run/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5960,7 +5960,7 @@ func TestServer_Query_Chunk(t *testing.T) {
}

writes := make([]string, 10001) // 10,000 is the default chunking size, even when no chunking requested.
expectedValues := make([]string, 10000)
expectedValues := make([]string, len(writes))
for i := 0; i < len(writes); i++ {
writes[i] = fmt.Sprintf(`cpu value=%d %d`, i, time.Unix(0, int64(i)).UnixNano())
if i < len(expectedValues) {
Expand Down
2 changes: 1 addition & 1 deletion etc/config.sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
# shared-sercret = ""

# The default chunk size for result sets that should be chunked.
# max-row-limit = 10000
# max-row-limit = 0

# The maximum number of HTTP connections that may be open at once. New connections that
# would exceed this limit are dropped. Setting this value to 0 disables the limit.
Expand Down
2 changes: 1 addition & 1 deletion services/httpd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func NewConfig() Config {
PprofEnabled: true,
HTTPSEnabled: false,
HTTPSCertificate: "/etc/ssl/influxdb.pem",
MaxRowLimit: DefaultChunkSize,
MaxRowLimit: 0,
Realm: DefaultRealm,
UnixSocketEnabled: false,
BindSocket: DefaultBindSocket,
Expand Down

0 comments on commit 1bcf3ae

Please sign in to comment.