GithubHelp home page GithubHelp logo

Comments (9)

jvshahid avatar jvshahid commented on May 5, 2024

No, that's definitely a bug. We'll definitely try to reproduce and fix it asap. Thanks for reporting this bug.

from influxdb.

crodas avatar crodas commented on May 5, 2024

If it helps, I can reproduce the same bug with the PHP driver. To run the test suite I ended up created databases with random names. Looking forward to see this bug closed.

from influxdb.

william-p avatar william-p commented on May 5, 2024

Good job, fixed in latest (InfluxDB v0.1.1.rc3 (git: d8dc990bb57c4298f857d45a36b39420ebca2926))
Thanks

from influxdb.

xgdgsc avatar xgdgsc commented on May 5, 2024

Well, I still see this with a database partially deleted after I delete in the web interface. With version 0.8.

from influxdb.

xgdgsc avatar xgdgsc commented on May 5, 2024

With python interface, it seems to delete fine though.

from influxdb.

jvshahid avatar jvshahid commented on May 5, 2024

Can you explain what do you mean you're seeing partial data after deleting
the database ? Are you querying the data or looking at files on disk.

Cheers,

-JS

On Mon, Aug 11, 2014 at 2:27 AM, xgdgsc [email protected] wrote:

With python interface, it seems to delete fine though.


Reply to this email directly or view it on GitHub
#41 (comment).

from influxdb.

dimrozakis avatar dimrozakis commented on May 5, 2024

I'm also experiencing the issue where dropping the database doesn't delete the stored measurements. Here's how I can reproduce it:

Create a database called deleteme:

» /opt/influxdb/influx
Connected to http://localhost:8086 version FIXME
InfluxDB shell 0.9.0
> show databases
name: databases
---------------
name

> create database deleteme

Submit a datapoint to create a measurement:

» curl -i -XPOST 'http://localhost:8086/write?db=deleteme' --data-binary 'cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000'
HTTP/1.1 204 No Content
Request-Id: 04ac4111-2593-11e5-8dbe-000000000000
X-Influxdb-Version: FIXME
Date: Wed, 08 Jul 2015 17:01:48 GMT

Drop deleteme database:

» /opt/influxdb/influx
Connected to http://localhost:8086 version FIXME
InfluxDB shell 0.9.0
> show databases
name: databases
---------------
name
deleteme

> use deleteme
Using database deleteme
> show measurements
name: measurements
------------------
name
cpu_load_short

> drop database deleteme
> show databases
name: databases
---------------
name

Even though deleteme database has been dropped, it can still be 'used' and the measurements are still there. Recreating the deleteme database doesn't change anything (other than it will then appear in show databases):

» /opt/influxdb/influx
Connected to http://localhost:8086 version FIXME
InfluxDB shell 0.9.0
> show databases
name: databases
---------------
name

> use deleteme
Using database deleteme
> show measurements
name: measurements
------------------
name
cpu_load_short

Also, what's with the version FIXME?

from influxdb.

beckettsean avatar beckettsean commented on May 5, 2024

@dimrozakis please upgrade to 0.9.1. This is a known and fixed bug, covered in #3049

from influxdb.

dimrozakis avatar dimrozakis commented on May 5, 2024

@beckettsean I upgraded and the the problem is indeed fixed, thanks.

from influxdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.