[jira] [Created] (IGNITE-10624) Cache deployment id may be different that cluster-wide after recovery

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10624) Cache deployment id may be different that cluster-wide after recovery

Anton Vinogradov (Jira)
Pavel Kovalenko created IGNITE-10624:
----------------------------------------

             Summary: Cache deployment id may be different that cluster-wide after recovery
                 Key: IGNITE-10624
                 URL: https://issues.apache.org/jira/browse/IGNITE-10624
             Project: Ignite
          Issue Type: Bug
          Components: cache, sql
    Affects Versions: 2.8
            Reporter: Pavel Kovalenko
            Assignee: Pavel Kovalenko
             Fix For: 2.8


When schema for a cache is changing (GridQueryProcessor#processSchemaOperationLocal),
it may produce false-negative "CACHE_NOT_FOUND" message if a cache was started during recovery while cluster-wide descriptor was changed.

{noformat}
        if (cacheInfo == null || !F.eq(depId, cacheInfo.dynamicDeploymentId()))
            throw new SchemaOperationException(SchemaOperationException.CODE_CACHE_NOT_FOUND, cacheName);
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)