Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 716666 Details for
Bug 923228
3.4 Alpha 2 Breaks swift file posting
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
This patch works-around this bug, now fixes a delete problem.
bug-923228.patch (text/plain), 1.13 KB, created by
Alex Wheeler
on 2013-03-26 18:25:08 UTC
(
hide
)
Description:
This patch works-around this bug, now fixes a delete problem.
Filename:
MIME Type:
Creator:
Alex Wheeler
Created:
2013-03-26 18:25:08 UTC
Size:
1.13 KB
patch
obsolete
>--- DiskFile.py 2013-03-26 18:20:19.345043088 +0000 >+++ /root/rpmbuild/BUILD/glusterfs-3git/ufo/gluster/swift/common/DiskFile.py 2013-03-26 15:32:16.000000000 +0000 >@@ -190,7 +190,7 @@ > self.metadata = metadata > self.filter_metadata() > >- def put(self, fd, tmppath, metadata, extension='.data'): >+ def put(self, fd, metadata, extension='.data'): > """ > Finalize writing the file on disk, and renames it from the temp file to > the real location. This should be called after the data has been >@@ -202,9 +202,6 @@ > """ > # Our caller will use '.data' here; we just ignore it since we map the > # URL directly to the file system. >- if extension == '.ts': >- # TombStone marker (deleted) >- return True > extension = '' > > metadata = _adjust_metadata(metadata) >@@ -327,7 +324,7 @@ > self.tmppath = os.path.join(self.datadir, tmpfile) > fd = do_open(self.tmppath, os.O_RDWR | os.O_CREAT | os.O_EXCL) > try: >- yield fd, self.tmppath >+ yield fd > finally: > try: > do_close(fd)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 923228
:
716665
|
716666
|
716667