diff options
author | Peter Portante <peter.portante@redhat.com> | 2012-11-14 11:31:43 -0500 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2012-12-11 04:53:27 -0800 |
commit | 29c23f20a6213affb646c322b7219a0f7c5c3dfc (patch) | |
tree | 86fa1c87d9d3d1b3baa18546973d41bbc4a4a101 /doc/qa/legacy | |
parent | 5886396d969a317cfd46e3da82543b0868325acc (diff) |
object-storage: use temp file optimization for pkl
Override OpenStack Swift's swift.common.utils.write_pickle with our own
implementation that uses the GlusterFS temporary file operation. A file name
'.<FILENAME>.<RANDOM>' will hash to the same GlusterFS node as a file named
'<FILENAME>', those avoiding a move of the file on a rename.
This is part of the work needed to address BZ 876660
(https://bugzilla.redhat.com/show_bug.cgi?id=876660).
Change-Id: I1cb9f97f289ab2ca76ec9221366df74de08268bb
BUG: 876660
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/4224
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Mohammed Junaid <junaid@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'doc/qa/legacy')
0 files changed, 0 insertions, 0 deletions