Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
When Table.ReadSchemaAsync is called, we send a request for the given schema version every time, even if another request for that version is active (e.g. in case of multiple concurrent TUPLE_GET requests).
Instead of caching ClientSchema, we should cache Task<ClientSchema>, and use GetOrAdd to guarantee only one request for the given version. Make sure to handle failures - if a cached Task is failed, send a new request.
Attachments
Issue Links
- is a clone of
-
IGNITE-19354 Java thin 3.0: Same schema version is retrieved multiple times in concurrent scenarios
- Resolved
- is related to
-
IGNITE-19242 .NET: Thin 3.0: propagate table schema updates to client on write-only operations
- Closed
- links to