Skip to content

Crash with persistent version-based example during group construction #235

@Steamgjk

Description

@Steamgjk

I am studying the version-based example.
I refer to persistent_vector.cpp in the archive and modify simple_replicated_objects_json.cpp.
I use ramfs based on the discussion at #233, and
mount -t ramfs -o size=1000m ramfs /mnt/ram

for each of the three VM.

But after I launch node-0 and node-1, it throws errors
图片

At the beginning, I thought it is because I did not copy the config and program to ramfs. However, even after I copied simple_replicated_objects_json and derecho.cfg to /mnt/ram there, it still throws the error.

I attach the cpp file and cfg files as below.
Archive.zip

Besides,
(1) If I want to use ramfs, how should I configure cfg files? (Question #234)
(2) If I want to use ramfs, do I have to copy the program and cfg to the ramfs folder and run there? Or can I just run in the previous location?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions