Implemented the IntroduceInstantLockSearchCallbackRule which is statically going to inspect the unnest_map and data_source_scan operators in the plan. If there is only a single access to the primary index, then an instant-lock search callback will be passed to the LSM-BTree at runtime. Otherwise, the usual search callback (the one that hold locks until the job commit) will be passed to the LSM-BTree. All test cases pass.

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_lsm_stabilization@1476 eaa15691-b419-025a-1212-ee371bd00084
6 files changed