mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Explicit sessions cannot be used with unacknowledged write concerns
https://jira.mongodb.org/browse/PHPC-1163 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344841 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
80f26e5674
commit
6ef92afe13
8 changed files with 146 additions and 2 deletions
|
@ -66,8 +66,9 @@
|
|||
&reftitle.errors;
|
||||
<simplelist>
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\InvalidArgumentException</classname> if <parameter>bulk</parameter> does not contain any write operations.</member>
|
||||
&mongodb.throws.bulkwriteexception;
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
&mongodb.throws.bulkwriteexception;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors.</member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
@ -84,6 +85,14 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.4.0</entry>
|
||||
<entry>
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors (e.g. invalid command, issuing a write command to a secondary).</member>
|
||||
</simplelist>
|
||||
|
@ -91,6 +92,14 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.4.0</entry>
|
||||
<entry>
|
||||
|
|
|
@ -70,11 +70,38 @@
|
|||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors (e.g. invalid command).</member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
|
|
|
@ -67,11 +67,38 @@
|
|||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors (e.g. invalid command).</member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
|
|
|
@ -66,8 +66,9 @@
|
|||
&reftitle.errors;
|
||||
<simplelist>
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\InvalidArgumentException</classname> if <parameter>bulk</parameter> does not contain any write operations.</member>
|
||||
&mongodb.throws.bulkwriteexception;
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
&mongodb.throws.bulkwriteexception;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors.</member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
@ -84,6 +85,14 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.4.0</entry>
|
||||
<entry>
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors (e.g. invalid command, issuing a write command to a secondary).</member>
|
||||
</simplelist>
|
||||
|
@ -89,6 +90,14 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.4.0</entry>
|
||||
<entry>
|
||||
|
|
|
@ -70,11 +70,38 @@
|
|||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors (e.g. invalid command).</member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&mongodb.note.server.write;
|
||||
|
|
|
@ -67,11 +67,38 @@
|
|||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.session-unacknowledged;
|
||||
&mongodb.throws.std;
|
||||
<member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> on other errors (e.g. invalid command).</member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.4</entry>
|
||||
<entry>
|
||||
<classname>MongoDB\Driver\Exception\InvalidArgumentException</classname>
|
||||
will be thrown if the <literal>"session"</literal> option is used in
|
||||
combination with an unacknowledged write concern.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
&mongodb.note.server.write;
|
||||
|
|
Loading…
Reference in a new issue