fix metadata concurency problem
Merge pull request #381 from Parquet/fix_concurency_problem

fix metadata concurency problem