[
https://issues.apache.org/jira/browse/IGNITE-20325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evgeny Stanilovsky updated IGNITE-20325:
----------------------------------------
Fix Version/s: 3.2
(was: 3.1)
> 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
> Priority: Major
> Labels: ignite-3, tech-debt
> Fix For: 3.2
>
>
> 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)