[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/mongodb/mongodb/driver/_manager/executebulkwrite
From:       Jeremy_Mikola <jmikola () php ! net>
Date:       2018-04-26 16:20:18
Message-ID: svn-jmikola-1524759618-344841-2080638736 () svn ! php ! net
[Download RAW message or body]

jmikola                                  Thu, 26 Apr 2018 16:20:18 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=344841

Log:
Explicit sessions cannot be used with unacknowledged write concerns

https://jira.mongodb.org/browse/PHPC-1163

Changed paths:
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executecommand.xml
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executereadwritecommand.xml
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executewritecommand.xml
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executebulkwrite.xml
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executecommand.xml
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executereadwritecommand.xml
    U   phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executewritecommand.xml


["svn-diffs-344841.txt" (text/x-diff)]

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml
 ===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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.session-unacknowledged; +   &mongodb.throws.std;
    &mongodb.throws.bulkwriteexception;
-   &mongodb.throws.std;
    <member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> \
on other errors.</member>  </simplelist>
  </refsect1>
@@ -85,6 +86,14 @@
      </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>
         The third parameter is now an <parameter>options</parameter> array.

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executecommand.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executecommand.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executecommand.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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>
@@ -92,6 +93,14 @@
      </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>
         The third parameter is now an <parameter>options</parameter> array.

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executereadwritecommand.xml
 ===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executereadwritecommand.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executereadwritecommand.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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>

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executewritecommand.xml
 ===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executewritecommand.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executewritecommand.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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>

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executebulkwrite.xml
 ===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executebulkwrite.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executebulkwrite.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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.session-unacknowledged; +   &mongodb.throws.std;
    &mongodb.throws.bulkwriteexception;
-   &mongodb.throws.std;
    <member>Throws <classname>MongoDB\Driver\Exception\RuntimeException</classname> \
on other errors.</member>  </simplelist>
  </refsect1>
@@ -85,6 +86,14 @@
      </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>
         The third parameter is now an <parameter>options</parameter> array.

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executecommand.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executecommand.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executecommand.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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>
@@ -90,6 +91,14 @@
      </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>
         The third parameter is now an <parameter>options</parameter> array.

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executereadwritecommand.xml
 ===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executereadwritecommand.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executereadwritecommand.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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;

Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executewritecommand.xml
 ===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executewritecommand.xml	2018-04-26 \
                15:30:43 UTC (rev 344840)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/server/executewritecommand.xml	2018-04-26 \
16:20:18 UTC (rev 344841) @@ -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;



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic