How do you update an ndex database without concurrency control?
The rename program is used specifically for that purpose. It uses rename(2) to move a file in such a manner that either the old, or the new, version will be available to the ndex program at all instances of time. So, one would make a new version of the database, db.new, and then “rename db.new db” where ndex operates on the database file, db.