Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
38002828
Commit
38002828
authored
Mar 23, 2000
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing pack support to the StorageServer.
parent
85f201d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+6
-2
No files found.
src/ZEO/StorageServer.py
View file @
38002828
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
# SUCH DAMAGE.
# SUCH DAMAGE.
######################################################################
######################################################################
__version__
=
"$Revision: 1.
6
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
7
$"
[
11
:
-
2
]
import
asyncore
,
socket
,
string
,
sys
,
cPickle
import
asyncore
,
socket
,
string
,
sys
,
cPickle
from
smac
import
SizedMessageAsyncConnection
from
smac
import
SizedMessageAsyncConnection
...
@@ -49,6 +49,8 @@ from ZODB import POSException
...
@@ -49,6 +49,8 @@ from ZODB import POSException
from
ZODB.Transaction
import
Transaction
from
ZODB.Transaction
import
Transaction
import
traceback
import
traceback
from
zLOG
import
LOG
,
INFO
,
ERROR
from
zLOG
import
LOG
,
INFO
,
ERROR
from
ZODB.referencesf
import
referencesf
from
thread
import
start_new_thread
class
StorageServerError
(
POSException
.
StorageError
):
pass
class
StorageServerError
(
POSException
.
StorageError
):
pass
...
@@ -227,7 +229,9 @@ class Connection(SizedMessageAsyncConnection):
...
@@ -227,7 +229,9 @@ class Connection(SizedMessageAsyncConnection):
self
.
message_output
(
'I'
+
dumps
(((
oid
,
osv
,
v
),)))
self
.
message_output
(
'I'
+
dumps
(((
oid
,
osv
,
v
),)))
return
_noreturn
return
_noreturn
def
pack
(
self
,
t
):
start_new_thread
(
self
.
__storage
.
pack
,
(
t
,
referencesf
))
def
store
(
self
,
oid
,
serial
,
data
,
version
,
id
):
def
store
(
self
,
oid
,
serial
,
data
,
version
,
id
):
t
=
self
.
_transaction
t
=
self
.
_transaction
...
...
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