Fix a bug in DDFS. DDFS may read a container that has not been written.