@sueloverso 
I don't see how open_flags ever makes it out of this function - am I missing something? I'm also surprised that session_ref is incremented even if we failed got a WT_NOTFOUND from session_lock_btree - can you explain that one to me?