Chapter 6.  Caution

Multitasking issues, some locking may be insufficient, it is at best at a very coarse level. For standalone the ordinary java locking is using. For multinode zookeeper is needed, or some concurrent modification will happen. With zookeeper, only node may index at a given time due to database access.