Skip to content

Failure to run on Windows #6223

Closed
Closed
@mvadu

Description

@mvadu

This is a repeating pattern with InfluxDB, every now and then a PR will introduce a os.rename which breaks the Windows compatibility due to the way OS works. Latest example being a961ff9 broke the Windows version as it removed the f.Close() and tried to rename.

Now we are getting

[monitor] 2016/04/05 23:12:55 failed to create retention policy 'monitor', failed to create internal storage: rename influxdb\meta\meta.dbtmp influxdb\meta\meta.db: The process cannot access the file because it is being used by another process.
[monitor] 2016/04/05 23:12:55 failed to store statistics: rename influxdb\meta\meta.dbtmp influxdb\meta\meta.db: The process cannot access the file because it is being used by another process.
[monitor] 2016/04/05 23:13:05 failed to create retention policy 'monitor', failed to create internal storage: rename influxdb\meta\meta.dbtmp influxdb\meta\meta.db: The process cannot access the file because it is being used by another process.

Activity

mvadu

mvadu commented on Apr 5, 2016

@mvadu
ContributorAuthor

If mods are okay, I would like to keep this issue open as its a reoccurring issue with Influx due to the nature of the project, and its heavy *nix orientation.

gunnaraasen

gunnaraasen commented on Apr 5, 2016

@gunnaraasen
Contributor

Sounds like this would be best solved by running continuous integration tests on Windows builds.

joelegasse

joelegasse commented on Apr 5, 2016

@joelegasse
Contributor

I do not think keeping this issue open will solve anything. We already have #5359 to track windows support. Windows is still not officially supported, so until that time, we'll have to rely on bug reports like this when changes cause issues due to quirks in windows.

added this to the 0.12.1 milestone on Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Failure to run on Windows · Issue #6223 · influxdata/influxdb