You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For applications that aspire to be less... dirty, it'd be useful to be able to msync, via MappedByteBuffer#force(). Is this reasonable or outside the scope of java-dirty?
Regards,
tom
The text was updated successfully, but these errors were encountered:
Under the hood, java-dirty uses multiple MappedByteBuffers as partitions.
It feels like the safest way to implement Store#force() would be to lock the store against writes (but not reads), then force all of them - something along the lines of below.
Ah, I hadn't noticed partitions. That seems a reasonable safe way to do it, though I no longer have this requirement as I'm no longer looking at java-dirty. I'm looking at other DBs due to additional requirements (persisted indexes).
Good day MrWilson,
For applications that aspire to be less... dirty, it'd be useful to be able to msync, via MappedByteBuffer#force(). Is this reasonable or outside the scope of java-dirty?
Regards,
tom
The text was updated successfully, but these errors were encountered: