Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Levin Zimmermann
neoppod
Commits
748fc334
Commit
748fc334
authored
Oct 17, 2011
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v0.9.x'
Conflicts: CHANGES
parents
430b6ea9
4df975e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
15 deletions
+18
-15
CHANGES
CHANGES
+1
-1
README
README
+6
-9
neo/client/__init__.py
neo/client/__init__.py
+10
-4
setup.py
setup.py
+1
-1
No files found.
CHANGES
View file @
748fc334
...
@@ -9,7 +9,7 @@ Change History
...
@@ -9,7 +9,7 @@ Change History
- NEO learned to store empty values (although it's useless when managed by
- NEO learned to store empty values (although it's useless when managed by
a ZODB Connection).
a ZODB Connection).
0.9.2 (
unreleased
)
0.9.2 (
2011-10-17
)
------------------
------------------
- storage: a specific socket can be given to MySQL backend
- storage: a specific socket can be given to MySQL backend
...
...
README
View file @
748fc334
...
@@ -143,20 +143,17 @@ NEO has no built-in deployment features such as process daemonization. We use
...
@@ -143,20 +143,17 @@ NEO has no built-in deployment features such as process daemonization. We use
[group:neo]
[group:neo]
programs=master_01,storage_01,admin
programs=master_01,storage_01,admin
[program:master_01]
priority=1
command=neomaster -c neo -s master_01 -f /neo/neo.conf
user=neo
[program:storage_01]
[program:storage_01]
priority=
2
priority=
10
command=neostorage -c neo -s storage_01 -f /neo/neo.conf
command=neostorage -c neo -s storage_01 -f /neo/neo.conf
user=neo
[program:master_01]
priority=20
command=neomaster -c neo -s master_01 -f /neo/neo.conf
[program:admin]
[program:admin]
priority=
3
priority=
20
command=neoadmin -c neo -s admin -f /neo/neo.conf
command=neoadmin -c neo -s admin -f /neo/neo.conf
user=neo
Developers
Developers
==========
==========
...
...
neo/client/__init__.py
View file @
748fc334
...
@@ -12,14 +12,18 @@
...
@@ -12,14 +12,18 @@
#
#
##############################################################################
##############################################################################
# NEO requires ZODB to allow TID to be returned as late as tpc_finish.
# At the moment, no ZODB release include the following patches.
# At the moment, no ZODB release include this patch.
# Later, this must be replaced by some detection mechanism.
# Later, this must be replaced by some detection mechanism.
needs_patch
=
True
if
1
:
if
needs_patch
:
from
ZODB.Connection
import
Connection
from
ZODB.Connection
import
Connection
# Allow serial to be returned as late as tpc_finish
#
# This makes possible for storage to allocate serial inside tpc_finish,
# removing the requirement to serialise second commit phase (tpc_vote
# to tpc_finish/tpc_abort).
def
tpc_finish
(
self
,
transaction
):
def
tpc_finish
(
self
,
transaction
):
"""Indicate confirmation that the transaction is done."""
"""Indicate confirmation that the transaction is done."""
...
@@ -50,6 +54,8 @@ if needs_patch:
...
@@ -50,6 +54,8 @@ if needs_patch:
Connection
.
tpc_finish
=
tpc_finish
Connection
.
tpc_finish
=
tpc_finish
###
try
:
try
:
if
Connection
.
_nexedi_fix
!=
4
:
if
Connection
.
_nexedi_fix
!=
4
:
raise
Exception
(
"A different ZODB fix is already applied"
)
raise
Exception
(
"A different ZODB fix is already applied"
)
...
...
setup.py
View file @
748fc334
...
@@ -36,7 +36,7 @@ extras_require['tests'] = ['zope.testing', 'psutil',
...
@@ -36,7 +36,7 @@ extras_require['tests'] = ['zope.testing', 'psutil',
setup
(
setup
(
name
=
'neoppod'
,
name
=
'neoppod'
,
version
=
'0.9.
1
'
,
version
=
'0.9.
2
'
,
description
=
__doc__
.
strip
(),
description
=
__doc__
.
strip
(),
author
=
'NEOPPOD'
,
author
=
'NEOPPOD'
,
author_email
=
'neo-dev@erp5.org'
,
author_email
=
'neo-dev@erp5.org'
,
...
...
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