[#858] remove debug code
[#2358] set the no copy length check flag for stage for the replication during prefer archive