You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2023/09/01 07:34:00 UTC
[jira] [Created] (IGNITE-20325) Wait for table assignments readiness on table methods invocations
Roman Puchkovskiy created IGNITE-20325:
------------------------------------------
Summary: Wait for table assignments readiness on table methods invocations
Key: IGNITE-20325
URL: https://issues.apache.org/jira/browse/IGNITE-20325
Project: Ignite
Issue Type: Improvement
Reporter: Roman Puchkovskiy
Fix For: 3.0.0-beta2
Basically, there are two stages of table internal construction:
# Create TableImpl object and put it to tablesByIdVv
# Start RAFT groups and mark assignments as ready
Currently, when obtaining a table via {{{}TableManager{}}}, we get a future that only completes when both stages are complete. But it seems that it might be useful to return a table when just first stage is complete. In this case, we'll need to wait for stage 2 inside TableImpl methods implementations (only for those methods that need assignments to be ready). Methods that don't need assignments (like {{{}name(){}}}) will work immediately.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)