Skip to content

Commit cb846a0

Browse files
committed
Update per TW review
1 parent daf4375 commit cb846a0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/reference/reference_lua/connpool.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Module experimental.connpool
99

1010
``experimental.connpool`` is an experimental module and is subject to changes.
1111

12-
An ``experimental.connpool`` module provides a set of features for connecting to remote cluster instances and for executing remote procedure calls on an instance that satisfies the specified criteria.
12+
The ``experimental.connpool`` module provides a set of features for connecting to remote cluster instances and for executing remote procedure calls on an instance that satisfies the specified criteria.
1313

1414
.. NOTE::
1515

@@ -73,7 +73,11 @@ Functions
7373

7474
.. NOTE::
7575

76-
You need to grant the ``execute`` :ref:`permission <configuration_credentials_managing_users_roles_granting_privileges>` for the specified function to a user used for replication to execute this function on a remote instance.
76+
The function is executed on behalf of the user that maintains replication in the cluster.
77+
Ensure that this user has the ``execute`` :ref:`permission <configuration_credentials_managing_users_roles_granting_privileges>` for the function to execute.
78+
79+
80+
типа "The function is executed on behalf of the user that ... Make sure that this user has permission ..."
7781

7882
:param string func_name: a name of the function to execute.
7983
:param table/nil args: function arguments.
@@ -152,7 +156,7 @@ Functions
152156
local connpool = require('experimental.connpool')
153157
local conn = connpool.connect("storage-b-002", { fetch_schema = true })
154158
155-
Once you have a connection, you can execute requests on a remote instance, for example, select data from a space using :ref:`conn.space.\<space-name\>:select() <conn-select>`.
159+
Once you have a connection, you can execute requests on the remote instance, for example, select data from a space using :ref:`conn.space.\<space-name\>:select() <conn-select>`.
156160

157161

158162
.. _connpool_module_filter:

0 commit comments

Comments
 (0)