Wip async log

pending_events is indexed by log segment's event_seq. events in log segment are added to the list