Skip to content

Commit db4c151

Browse files
authored
Multiprocessing warning in documentation (googleapis#4834)
* Spanner: multiprocessing warning in documentation * Review Changes
1 parent d171166 commit db4c151

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/spanner/usage.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ Configuration
8787

8888
Be sure to use the **Project ID**, not the **Project Number**.
8989

90+
Warnings about Multiprocessing
91+
-------------------------------------------------
92+
- When using multiprocessing, the application may hang if a
93+
:class:~google.cloud.spanner_v1.client.Client instance is created before
94+
:class:multiprocessing.Pool or :class:multiprocessing.Process invokes :func:os.fork.
95+
The issue is under investigation, but may be only happening on Macintosh and not Linux.
96+
See `GRPC/GRPC#12455 <https://github.com/grpc/grpc/issues/12455#issuecomment-348578950>`_ for more information.
9097

9198
Next Step
9299
---------

0 commit comments

Comments
 (0)