idle event and auto compaction