-
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
TSM engine breaks windows compatibility #4358
Comments
@benbjohnson already handles this with boltdb and we should be able to do the same thing: https://github.com/boltdb/bolt/blob/master/bolt_windows.go#L30 |
+1, sounds like a good idea. |
I've tried mmap-go package, and it seems to be working. ref: HouzuoGuo/tiedot#7 |
Any ETA on the fix for this issue? Until its fixed, I have to stay in old builds! |
What is the latest version of influxdb that will compile on Windows without hitting this issue please? |
@imrichardcole -- check out the 0.9.4 branch and compile that. It should work on Windows. |
@otoolep Ah many thanks, you'd actually responded before I had to chance to post back. I managed to get 0.9.4.2 to compile on Windows. Can we expect ongoing Windows support or is it limited to 0.9.4.2? |
@imrichardcole -- our Windows support is currently experimental, and the only guarantee we can provide is that when 1.0 comes out it will run on Windows. |
@otoolep the windows version is used mostly for development, not for production, so please release it even if it's experimental. Thank you. |
We are hoping to add experimental support back soon. This PR will hopefully allow for it if it gets merged for Any help from the community will get this done sooner. |
Until that time, I just built and published a release from 0.9.4 branch, https://github.com/mvadu/influxdb/releases/tag/v0.9.4.2 |
@corylanou @otoolep I tried adding mmap implementation for Windows based on MapViewOfFile. Used SliceHeader trick to change the pointer returned by MapViewOfFile to a byte slice. This will not call for any change in rest of tsm. Submitted PR #4981 tsm1.go was directly calling
Hence removed Syscall.Mmap to use mmap, which should use respective plat form specific functions. Note: This is the first time I am working on a fork repo. Please excuse me if I did some silly mistake. I am new to go, and was not able to test this PR with a Linux machine. |
Is this also related #4787 ? |
I think this is now fixed in master. Can someone confirm? Bill Gates banned me from running Windows about a decade ago. |
It is not working for me but does appear to have less errors ubuntu@NUC001: |
@rapport no, #4787 is not related, tsm1 already broke Windows, but my first pull request #4788 made things worse. The second pull request #5027 fixes #4787 and doesn't introduce any additional regressions on Windows, but sadly it does nothing to fix #4358 either. Apparently CircleCI (used by InfluxDB) has beta support for Windows, but it looks like an Enterprise (i.e. paid) feature: https://circleci.com/enterprise/azure I wonder if the Microsoft Azure Open Source outreach team could be convinced to pick up the tab, but I have no idea how to get this done - my few contacts at Microsoft are at their Mobile division, not Azure. |
@pauldix @fazalmajid master just has I tried with #4981 and its work in progress now. I think I know the reason for the pending test failures, and should be able to fix in a day. |
As an alternative to CircleCI, Appveyor offers free Windows CI for open-source projects: http://www.appveyor.com/ |
@pauldix @jwilder
The text was updated successfully, but these errors were encountered: