]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix intent log processing
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 18 Jan 2012 07:42:08 +0000 (23:42 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 18 Jan 2012 07:42:08 +0000 (23:42 -0800)
commit148031b7ea6a71108f49d367159325ef46a942da
tree28708ccb1bc39446752da13fddb941d69ebfe6d9
parent731c8832e86ef97f4e064d1df316ae6b8059ecd0
rgw: fix intent log processing

Intent log processing was completely broken. First, it wasn't
parsing the date correctly (due to failure to initalize strptime).
Second, it was trying to load the entire log to memory in one
piece (and in a racy way). This fixed bug #1948.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/rgw/rgw_rados.cc