to make read_from_writer work

author: weijin
TS-1656  enable_read_while_writer not working

Patch: ca1a9136f1f78c599de1b3e49641e383b12117fe
test/review: igalic, zym, oschaaf
backport: igalic