PoC State machine for async indexed insert

Change-Id: Ice6adf2fcf67a3187ce5c105dd674a72bfcc76ba