add strict_tables support.

use prepare-commit pattern to archive better reliablity.