-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
index in meta increased for twice #16326
Comments
@rickif thanks for opening this. Is this causing an actual issue for you or are you just curious? |
thanks for reply. |
I think you might have come across a small bug @rickif! Thanks a lot for reporting this. I'm digging into the code to see exactly what impact removing the Will get back to you shortly on this. |
maybe just removing the line below will work, since the influxdb/services/meta/client.go Line 940 in f1d2665
|
Steps to reproduce:
influxdb 1.8, 1.7 or some other earlier versions
https://github.com/influxdata/influxdb/blob/f1d26652e91e94e050c4904818d023fe5d6701c3/services/meta/client.go
When
func (c *Client) SetData(data *Data) error
is called, the index of the data increase twice,one for here:
influxdb/services/meta/client.go
Line 940 in f1d2665
another:
influxdb/services/meta/client.go
Line 970 in f1d2665
is that by design?
Expected behavior:
Actual behavior:
Environment info:
Config:
Logs:
Performance:
The text was updated successfully, but these errors were encountered: