[Fixed] concurrent directory update
[Fixed] resource must be cloned before returned from cache
[Fixed] RMW lock on resource data in bdb storage