Merge pull request #8137 from influxdata/jw-merge-12

Merge 1.2.2 to master
pull/8142/head
Jason Wilder 2017-03-14 17:51:34 -06:00 committed by GitHub
commit 713a1d2fab
4 changed files with 17 additions and 3 deletions

View File

@ -10,6 +10,20 @@
- [#7856](https://github.com/influxdata/influxdb/issues/7856): Failed points during an import now result in a non-zero exit code.
- [#7821](https://github.com/influxdata/influxdb/issues/7821): Expose some configuration settings via SHOW DIAGNOSTICS
## 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

View File

@ -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.

View File

@ -41,7 +41,7 @@ func NewConfig() Config {
PprofEnabled: true,
HTTPSEnabled: false,
HTTPSCertificate: "/etc/ssl/influxdb.pem",
MaxRowLimit: DefaultChunkSize,
MaxRowLimit: 0,
Realm: DefaultRealm,
UnixSocketEnabled: false,
BindSocket: DefaultBindSocket,

View File

@ -6081,7 +6081,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) {