Skip to content

Commit 93c8be5

Browse files
authored
Added storage access timeout flag (#1212)
* Added storage access timeout flag * Blurb under storage access page
1 parent f7d78be commit 93c8be5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pages/database-management/configuration.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ in Memgraph.
465465
| `--storage-automatic-edge-type-index-creation-enabled=false` | Enables automatic creation of indices on edge types. Only usable in IN_MEMORY_TRANSACTIONAL mode. | `[bool]` |
466466
| `--storage-property-store-compression-enabled=false` | Controls whether the properties should be compressed in the storage. | `[bool]` |
467467
| `--storage-property-store-compression-level=mid` | Controls property store compression level. Allowed values: low, mid, high | `[string]` |
468+
| `--storage-access-timeout-sec=1` | Storage access timeout in seconds. Used to fine-tune the responsiveness and guard against queries indefinitely waiting. | `[uint64]` |
468469

469470
### Streams
470471

pages/help-center/errors/transactions.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ Storage access timeouts occur during query preparation when the query execution
131131

132132
These timeouts prevent worker starvation and database blocking that could occur if queries were to wait indefinitely for storage access.
133133

134+
Users can fine-tune the timeout by setting the flag `--storage-access-timeout-sec`.
135+
Longer timeouts will result in fewer access timeouts, but can lead to worse responsiveness from the database. This is due to workers waiting longer for access before failing.
136+
134137
### Handling storage access timeout
135138

136139
When you encounter a storage access timeout:

0 commit comments

Comments
 (0)