tikv-python 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tikv/__init__.py CHANGED
@@ -41,4 +41,4 @@ __all__ = [
41
41
  "UndeterminedError",
42
42
  ]
43
43
 
44
- __version__ = "0.1.0"
44
+ __version__ = "0.1.1"
tikv/_rpc.py CHANGED
@@ -54,10 +54,13 @@ CHANNEL_OPTIONS = (
54
54
  # Scans and batch reads can legitimately exceed gRPC's 4 MiB default.
55
55
  ("grpc.max_receive_message_length", -1),
56
56
  ("grpc.max_send_message_length", -1),
57
- # Detect dead peers quickly, like client-go does.
57
+ # Detect dead peers quickly, like client-go does, but only while calls are in flight:
58
+ # PD's gRPC server (grpc-go defaults) answers pings on an idle connection more often
59
+ # than every 5 minutes with GOAWAY too_many_pings. An idle channel needs no pings, the
60
+ # next call reconnects if the peer went away.
58
61
  ("grpc.keepalive_time_ms", 10_000),
59
62
  ("grpc.keepalive_timeout_ms", 3_000),
60
- ("grpc.keepalive_permit_without_calls", 1),
63
+ ("grpc.keepalive_permit_without_calls", 0),
61
64
  ("grpc.http2.max_pings_without_data", 0),
62
65
  )
63
66
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: tikv-python
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Pure-Python client for TiKV's raw key-value API
5
5
  Project-URL: Homepage, https://github.com/slavabobik/tikv-python
6
6
  Project-URL: Documentation, https://github.com/slavabobik/tikv-python#readme
@@ -37,7 +37,7 @@ Description-Content-Type: text/markdown
37
37
 
38
38
  <p align="center">
39
39
  <a href="https://github.com/slavabobik/tikv-python/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/slavabobik/tikv-python/actions/workflows/ci.yml/badge.svg"></a>
40
- <a href="https://pypi.org/project/tikv-python/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tikv-python.svg"></a>
40
+ <a href="https://pypi.org/project/tikv-python/"><img alt="PyPI" src="https://img.shields.io/pypi/v/tikv-python?label=pypi&color=blue"></a>
41
41
  <a href="pyproject.toml"><img alt="Python versions" src="https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fslavabobik%2Ftikv-python%2Fmain%2Fpyproject.toml&query=%24.project.requires-python&label=python&color=3776AB"></a>
42
42
  <a href="#compatibility"><img alt="Tested with TiKV 7.5 and 8.5" src="https://img.shields.io/badge/TiKV-7.5%20%7C%208.5-ff5a5f"></a>
43
43
  <a href="LICENSE"><img alt="License: Apache 2.0" src="https://img.shields.io/badge/license-Apache%202.0-blue.svg"></a>
@@ -1,9 +1,9 @@
1
- tikv/__init__.py,sha256=_I5Zb-FOnL1R4sDbfKJh9MrHOdi4r6q8hzffA-MQpNA,884
1
+ tikv/__init__.py,sha256=tajt_h9yQo64ZTBw6voG06yrOSjSkSWH8Nk5YPDOBcw,884
2
2
  tikv/_backoff.py,sha256=HImEovkpH8_cDwWa3ckfb60tF482FP0UkZGHV4Letu4,2937
3
3
  tikv/_errors.py,sha256=PTC3VpyzanEVNa4JDhfAArVuNmD-OwHVXmg7dvbLrMw,1496
4
4
  tikv/_keys.py,sha256=gLaMgRfzuVyR1PnOIWu0C75YLKFBOCoAPE-xHHyKXrk,3455
5
5
  tikv/_region.py,sha256=h4GB5REBUeNfQ0pGxFXc-x63r0sCS-P0lSwsCkTpu14,8730
6
- tikv/_rpc.py,sha256=DsW1wf3t39hPAVkqMGHAPpXGiDFPJXa6haPMyh69X7E,3667
6
+ tikv/_rpc.py,sha256=rE5NoLXFdFn0yg7hJeW5GBT3ExRTSgkGEhZSlCX9Pqo,3933
7
7
  tikv/_types.py,sha256=E9oD9fvlSWiGGEkAstRgaGlQgr9e7BHihxHMLKeGuVg,890
8
8
  tikv/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  tikv/_async/__init__.py,sha256=W50JS_aTKxyqmxACt78qkf_kjzxeQkgmORVE97hT5FQ,65
@@ -25,7 +25,7 @@ tikv/_sync/_client.py,sha256=JHie22CvR2dFnmP98FQAHwa2NLkXw1ze5DciqgRQnPY,22815
25
25
  tikv/_sync/_compat.py,sha256=AmRZFs9vxvr52UqyGdgTdz9VS3FR0lYmxexBY2Sjkoc,1210
26
26
  tikv/_sync/_pd.py,sha256=heQaO8rISrNZoX0aUPB-LHahzuKNVTPCxyo2ALV6Mlg,7358
27
27
  tikv/_sync/_transport.py,sha256=fAgESmopVejBUo1BTWOUiPN_f5GmyECGKwVSPjjIsME,1873
28
- tikv_python-0.1.0.dist-info/METADATA,sha256=ilTCRjHxbLY8MtHx6jmY6NW7ha199fqyapA_7NdAIuw,16012
29
- tikv_python-0.1.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
30
- tikv_python-0.1.0.dist-info/licenses/LICENSE,sha256=yVuuHRzgI17MzTVgt3LsHvuX80innw--CmNPDCzO_iw,11358
31
- tikv_python-0.1.0.dist-info/RECORD,,
28
+ tikv_python-0.1.1.dist-info/METADATA,sha256=zFsaUHNXcl6jKRFWKBpeNzq_-J2-5TTbDYRDEcSushM,16030
29
+ tikv_python-0.1.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
30
+ tikv_python-0.1.1.dist-info/licenses/LICENSE,sha256=yVuuHRzgI17MzTVgt3LsHvuX80innw--CmNPDCzO_iw,11358
31
+ tikv_python-0.1.1.dist-info/RECORD,,