Giter Club home page Giter Club logo

Comments (4)

coffeemug avatar coffeemug commented on July 2, 2024

Hmm, if I had to guess, I'd say reiser probably opens the file with the page cache but doesn't fsync on every write (just an uneducated guess, though)

I don't like the idea of explicitly checking for it -- we should actually figure out why we crash. We also shouldn't crash on a bad rethinkdb file in this way (we should give a friendlier error message). I'm moving this issue to backlog because there are more pressing issues at the moment and this seems like a rare configuration. I added #30 for documenting this limitation.

from rethinkdb.

danielmewes avatar danielmewes commented on July 2, 2024

Here's a related bug in older PostgreSQL version by the way, even though it refers to ext3/4, not ReiserFS.
http://postgresql.1045698.n5.nabble.com/We-really-ought-to-do-something-about-O-DIRECT-and-data-journalled-on-ext4-td3287127.html
It seems that ext3/ext4 do report a failure on opening a file with O_DIRECT in journaled mode though, while ReiserFS seems to accept it and then maybe just misbehaves (whatever that means for semantics so badly defined and/or documented as the direct I/O ones on Linux).

PS: Indeed, on ext4 with data=journal, RethinkDB detects the condition properly and prints the appropriate message, including the text "- the database file is located on a filesystem that doesn't support O_DIRECT open flag (e.g. in case when the filesystem is working in journaled mode)".

from rethinkdb.

coffeemug avatar coffeemug commented on July 2, 2024

Cool, thanks!

from rethinkdb.

danielmewes avatar danielmewes commented on July 2, 2024

I don't know if something changed in RehtinkDB, or if this was a a fix in the Ubuntu 10.04 kernel, but it's actually working now. Closing! :-)

from rethinkdb.

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.