Menu

Commit [r51]  Maximize  Restore  History

Added if clauses for kingcobra_disk_persistence boolean flag to open the Disk persisted Queue file (hardcoded as

REQUEST_REPLY.queue in /var/log/kingcobra) in write and append mode and to do VFS writes of the incoming requests
to the file with vfs_write(). With this all requests (both REQUEST and REPLY types) will be persisted to the disk in
the recepient cloud node with in same flat file instead of two files as described in schematic diagram in
http://sourceforge.net/p/acadpdrafts/code/ci/master/tree/Krishna_iResearch_opensourceproducts_archdiagram.pdf which is a better
alternative. But having both replies and requests in same file gives some chronological ordering.

ka_shrinivaasan 2014-04-29

changed /c-src/kingcobra_main_kernelspace.c
/c-src/kingcobra_main_kernelspace.c Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB