Discussion:
TXN in master
Michael Ströder
2014-09-16 09:13:51 UTC
Permalink
HI!

It seems TXN support has landed in git master.
Is it ready for interop testing?

Ciao, Michael.
Howard Chu
2014-09-16 13:07:13 UTC
Permalink
Content preview: Michael Ströder wrote: > HI! > > It seems TXN support has
landed in git master. > Is it ready for interop testing? Yes, go for it.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland
Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
[...]

Content analysis details: (-4.2 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium
trust
[69.43.206.106 listed in list.dnswl.org]
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-BeenThere: openldap-***@openldap.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OpenLDAP development discussion list <openldap-devel.openldap.org>
List-Unsubscribe: <http://www.openldap.org/lists/mm/options/openldap-devel>,
<mailto:openldap-devel-***@openldap.org?subject=unsubscribe>
List-Archive: <http://www.openldap.org/lists/openldap-devel/>
List-Post: <mailto:openldap-***@openldap.org>
List-Help: <mailto:openldap-devel-***@openldap.org?subject=help>
List-Subscribe: <http://www.openldap.org/lists/mm/listinfo/openldap-devel>,
<mailto:openldap-devel-***@openldap.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Sep 2014 13:07:19 -0000
Post by Michael Ströder
HI!
It seems TXN support has landed in git master.
Is it ready for interop testing?
Yes, go for it.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Michael Ströder
2014-09-22 05:23:56 UTC
Permalink
Post by Howard Chu
Post by Michael Ströder
It seems TXN support has landed in git master.
Is it ready for interop testing?
Yes, go for it.
More questions:

In case of using Assertion Control:
At which state is the assertion tested? During TXN settlement?

If an update request is sent by the client with a TXN identifier is that
passed through the whole overlay stack?

More specific:

Is the result code of the update operation not success(0) if it would have
failed due to violated constraint (slapo-unique, slapo-constraint,
slapo-refint etc.)? Or is this overlay processing deferred until TXN settlement?

What about slapo-accesslog? Is the update operation immediately written to the
accesslog DB? Or is it deferred until TXN settlement?

Hmm, many subtle issues might pop up for one or the other...

Ciao, Michael.
Howard Chu
2014-09-22 15:22:38 UTC
Permalink
Content preview: Michael Ströder wrote: > Howard Chu wrote: >> Michael Ströder
wrote: >>> It seems TXN support has landed in git master. >>> Is it ready
for interop testing? >> >> Yes, go for it. > > More questions: > > In case
of using Assertion Control: > At which state is the assertion tested? During
TXN settlement? [...]

Content analysis details: (-1.9 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-BeenThere: openldap-***@openldap.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OpenLDAP development discussion list <openldap-devel.openldap.org>
List-Unsubscribe: <http://www.openldap.org/lists/mm/options/openldap-devel>,
<mailto:openldap-devel-***@openldap.org?subject=unsubscribe>
List-Archive: <http://www.openldap.org/lists/openldap-devel/>
List-Post: <mailto:openldap-***@openldap.org>
List-Help: <mailto:openldap-devel-***@openldap.org?subject=help>
List-Subscribe: <http://www.openldap.org/lists/mm/listinfo/openldap-devel>,
<mailto:openldap-devel-***@openldap.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Sep 2014 15:22:50 -0000
Post by Michael Ströder
Post by Howard Chu
Post by Michael Ströder
It seems TXN support has landed in git master.
Is it ready for interop testing?
Yes, go for it.
At which state is the assertion tested? During TXN settlement?
During TXN settlement.
Post by Michael Ströder
If an update request is sent by the client with a TXN identifier is that
passed through the whole overlay stack?
The control is passed thru the Operation struct.
Post by Michael Ströder
Is the result code of the update operation not success(0) if it would have
failed due to violated constraint (slapo-unique, slapo-constraint,
slapo-refint etc.)? Or is this overlay processing deferred until TXN settlement?
Section 3.3. All processing is deferred until settlement.
Post by Michael Ströder
What about slapo-accesslog? Is the update operation immediately written to the
accesslog DB? Or is it deferred until TXN settlement?
Same answer.
Post by Michael Ströder
Hmm, many subtle issues might pop up for one or the other...
Ciao, Michael.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Loading...