Tritcask fails to load data file bigger than address space.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Client |
Confirmed
|
High
|
Guillermo Gonzalez |
Bug Description
When a huge data file is created in a session, Tritcask fails to load it in the next sesssion (and Syncdaemon isn't able to start).
This is caused by the use of mmap on a file bigger than the address space, in this case 9GB.
Here is the traceback:
File "<stdin>", line 1, in <module>
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
for entry in data_file.
File "/usr/lib/
fmmap = mmap.mmap(
ValueError: mmap length is too large
Creating such a huge file is a bug in itself that I'll create asap.
Related branches
- Facundo Batista (community): Approve
- Manuel de la Peña (community): Approve
-
Diff: 250 lines (+76/-39)2 files modifiedtests/syncdaemon/test_tritcask.py (+40/-13)
ubuntuone/syncdaemon/tritcask.py (+36/-26)
summary: |
- Tritcask fails to load data file bigger than memory. + Tritcask fails to load data file bigger than address space. |
tags: | added: u1-sru |