Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
8a1646c3
Commit
8a1646c3
authored
Nov 13, 2017
by
Julien Muchembled
Committed by
GitHub
Nov 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #184 from zopefoundation/davisagli-pack-error-oid
Report full oid of missing object during pack
parents
87b26549
9ddfb58d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGES.rst
CHANGES.rst
+2
-1
src/ZODB/FileStorage/fspack.py
src/ZODB/FileStorage/fspack.py
+1
-1
No files found.
CHANGES.rst
View file @
8a1646c3
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
5.3.1 (unreleased)
5.3.1 (unreleased)
==================
==================
- Nothing changed yet.
- If an object is missing from the index while packing a ``FileStorage``,
report its full ``oid``.
5.3.0 (2017-08-30)
5.3.0 (2017-08-30)
...
...
src/ZODB/FileStorage/fspack.py
View file @
8a1646c3
...
@@ -270,7 +270,7 @@ class GC(FileStorageFormatter):
...
@@ -270,7 +270,7 @@ class GC(FileStorageFormatter):
if
oid
==
z64
and
len
(
oid2curpos
)
==
0
:
if
oid
==
z64
and
len
(
oid2curpos
)
==
0
:
# special case, pack to before creation time
# special case, pack to before creation time
continue
continue
raise
raise
KeyError
(
oid
)
reachable
[
oid
]
=
pos
reachable
[
oid
]
=
pos
for
oid
in
self
.
findrefs
(
pos
):
for
oid
in
self
.
findrefs
(
pos
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment