priitj / whitedb

WhiteDB memory database
http://whitedb.org/
GNU General Public License v3.0
608 stars 78 forks source link

dump files not working after reboot #40

Open aleksandergabriel opened 6 years ago

aleksandergabriel commented 6 years ago

I am having problem with importing dump files and accessing records after I reboot computer. Dump files are created with wg_dump function and imported with wg_import_dump(). When I was testing creating and importing dump files within one computer "run" everything was working as it should. But after a restart of a computer import function returns 0 as if everything is ok, but afterwards I get: wg memory error: memory_stats(): failed to get shmid. wg memory error: Failed to get the access mode of the segment. Should I store dump file somehow differently?

Dan-Do commented 2 years ago

I am having problem with importing dump files and accessing records after I reboot computer. Dump files are created with wg_dump function and imported with wg_import_dump(). When I was testing creating and importing dump files within one computer "run" everything was working as it should. But after a restart of a computer import function returns 0 as if everything is ok, but afterwards I get: wg memory error: memory_stats(): failed to get shmid. wg memory error: Failed to get the access mode of the segment. Should I store dump file somehow differently?

Hello, is it issue solved now for you?