binary search binlog