-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[0.9.3-rc2] Unable to rapidly drop/recreate measurement #3551
Comments
@jacekgrzybowski I cannot reproduce this error on my setup. I'm running InfluxDB 0.9.2 installed via Homebrew on OS X 10.10.4 with an unaltered generated config file.
How did you install InfluxDB? Did you make any changes to the configuration file? |
@beckettsean after a fresh system startup this situation hadn't occured anymore. However, after I ran my units tests a couple of times (before each test I initialize series by inserting a non relevant value and after each one I run |
How small are the time intervals? InfluxDB wasn't designed to handle frequent deletes, it's not part of the core use case. Perhaps you can fuzz the database or measurement name in each test run so they aren't identical? |
@jacekgrzybowski can you provide a script to reproduce? We can't seem to get this to happen. |
I'm also getting this error on 0.9.2. Restarting the database fixes it. These lines will always reproduce it for me.
The output from the final command is:
|
reproduced in 0.9.2 and 0.9.3-rc2. The latter has a more detailed error message:
The error was consistent through multiple cycles of drop and recreate, always referencing |
After restarting the daemon and using
|
@erikogenvik I just realized that the examples we've been working on recently are using Cannot repro the original |
@beckettsean it happened in my unit test, but I was able to reproduce it in a way I posted in the opening post of this issue. However here's a sample of my
What happens here is:
I was not the only one encoutering |
Thanks for the clarification, @jacekgrzybowski. I'll reopen the issue, but InfluxDB is not optimized for deletes, and certainly not for rapidly deleting and then recreating a measurement. I do understand the use case for automated testing but it's not an actual real-world issue. This might be something we don't fix for a while. |
+1 |
We have had a lot of work since this issue was filed. I'm going to close this as the issue may not be relevant anymore. Please try again with a newer version of InfluxDB and either comment here or open a new issue if this is still happening. Thank you. |
This is related to #2955.
Below you can find a complete reproduction of my steps for
0.9.2
. I'm unable to drop measurement (ERR: database not open
) and after recreating I get error while executing basicSELECT
clause.The text was updated successfully, but these errors were encountered: