Comments (11)
from assise.
This is indeed a bug. Thanks for pointing it out. I'll fix this in an upcoming patch.
We didn't get around to implementing mount/umount, so Simon's suggestion is sensible here. If you manage to come up with an implementation for these commands, I'd be more than happy to integrate it.
from assise.
Thanks!
I have another question about Strata, if that's alright. I'm currently working on a tool to test PM file systems for crash consistency and we are currently extending it to Strata. I've encountered some unexpected behavior and I'd like to see if it's correct or not. I have been able to trigger it without this too with the following steps.
Here's what I'm doing:
- Set up strata and run a program that calls
init_fs()
to start libfs, then creates a file /mlfs/foo. This program does not callshutdown_fs()
. - Kill kernfs (without a TERM handler set up, so it doesn't run
shutdown_fs()
on the kernfs side either). - Start kernfs up again.
- Run a program that starts libfs and attempts to
stat
/mlfs/foo.
By ending the first program without shutdown_fs()
and by killing kernfs, I think this set of steps essentially injects a power-loss crash or similar after the creation of /mlfs/foo. In the second program, the stat
call on /mlfs/foo fails and returns -2. errno
is 0 after the stat
call. If I try to open /mlfs/foo instead of calling stat
, the same thing happens (returns -2, errno
is 0 after the call) and Strata prints "incorrect fd -2: file /mlfs/foo".
Since Strata is synchronous, I would expect /mlfs/foo to be present in the second program even though libfs and kernfs don't shut down correctly. Is that correct?
from assise.
from assise.
Thanks for the update.
We'd like to try to test the parts of the crash recovery code that have been implemented - could you point us towards what those might be?
Thanks!
from assise.
from assise.
from assise.
Thanks! I think the scenario we're trying to set up is most similar to the OS failover experiment described in the paper; we're basically simulating power-loss crashes. I'd love some info on how you set up and ran that experiment. We are not looking at distributed file systems at the moment, so I have been working with Strata so far; does Strata have the same recovery mechanisms implemented as Assise, or should I switch to a local-only instance of Assise?
Thanks again for your help!
from assise.
from assise.
from assise.
Awesome, thank you! I'll try getting Assise set up and replicating that experiment. I'll reach out if I have any problems. I'll leave this issue open for now until the original bug I reported is patched. Thanks again for all your help!
from assise.
Related Issues (20)
- about zookeeper HOT 6
- Not using Assise's libpmem during runtime. HOT 2
- registeration memory failed with errno: Cannot allocate memory HOT 2
- Compile errors HOT 1
- Confused about function compute_log_blocks in libfs/src/log/log.c HOT 2
- How to set up log recovery in Assise? HOT 4
- Access control in Assise HOT 2
- Segmentation fault when leases are enabled HOT 5
- Cleanup of threads managing connections to SharedFS HOT 1
- Updation of number of inode links not persisted HOT 4
- Hitting assertion failure during replication HOT 3
- Setting up a cluster with 8 nodes HOT 6
- Setting up Cluster with Multiple Nodes - Segmentation Fault HOT 12
- Memory Region Failure ibv_reg_mr failed [error code: 14] HOT 3
- Benchmark Details HOT 5
- Multi-thread Filebench HOT 1
- Running the warm replicas experiment from the paper
- Segmentation fault on pthread_create when initializing connections
- I see that the global lru list "g_fcache_head" is not protected by locks, which may cause something wrong? HOT 1
- Can we run assise directly on dram? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assise.