Added new Thread implementation for recording partitions