Commit 748fc334 authored by Julien Muchembled's avatar Julien Muchembled

Merge branch 'v0.9.x'

Conflicts:
	CHANGES
parents 430b6ea9 4df975e8
...@@ -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
......
...@@ -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
========== ==========
......
...@@ -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")
......
...@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment