New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream Transaction HTTP docs #8833
Conversation
|
||
### Stream Transactions | ||
|
||
The [Stream Transactions](StreamTransaction.md) allows you to perform a multi-document transaction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The [Stream Transactions](StreamTransaction.md) allows you to perform a multi-document transaction | |
[Stream Transactions](StreamTransaction.md) allow you to perform a multi-document transaction |
### JavaScript Transactions | ||
|
||
The [JS-Transaction API](JsTransaction.md) allows you to send the server | ||
a dedicated peace of JavaScript code (i.e. a function), which will be executed transactionally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a dedicated peace of JavaScript code (i.e. a function), which will be executed transactionally. | |
a dedicated piece of JavaScript code (i.e. a function), which will be executed transactionally. |
HTTP Interface for Stream Transactions | ||
====================================== | ||
|
||
*Stream Transactions* allows you to perform a multi-document transaction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*Stream Transactions* allows you to perform a multi-document transaction | |
*Stream Transactions* allow you to perform a multi-document transaction |
There is a new HTTP API for transactions. This API allows clients to add operations to a | ||
transaction in a streaming fashion. A transaction can consist of a series of supported | ||
transactional operations, followed by a commit or abort command. | ||
This allows clients to construct larger transactions in a more efficent way then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This allows clients to construct larger transactions in a more efficent way then | |
This allows clients to construct larger transactions in a more efficent way than |
transaction in a streaming fashion. A transaction can consist of a series of supported | ||
transactional operations, followed by a commit or abort command. | ||
This allows clients to construct larger transactions in a more efficent way then | ||
with the JavaScript based transactions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the JavaScript based transactions. | |
with the JavaScript-based transactions. |
|
||
Note that this requires client applications to abort transactions which are no | ||
longer necessary. Otherwise resources and locks acquired by the transactions | ||
will hang around until the server decides to garbage collect them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will hang around until the server decides to garbage collect them. | |
will hang around until the server decides to garbage-collect them. |
@@ -58,6 +58,8 @@ Please refer to [Locking and Isolation](LockingAndIsolation.md) for more details | |||
In Clusters | |||
----------- | |||
|
|||
TODO: fix this section up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be removed before we merged this PR.
…-fix/foxx-security-windows-symlinks * 'devel' of https://github.com/arangodb/arangodb: fix a few issues in BackupNoAuthSysTest (#8868) track number of failed requests that want to bump the plan version (#8867) next hack attempt (#8802) Improve estimator apply algo + test (#8871) Stream Transaction HTTP docs (#8833) Improve path finder tests (#8849)
http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr-linux/5688/
http://jenkins01.arangodb.biz:8080/view/Documentation/job/arangodb-documentation/414/
name is not necessarily final yet