You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Douglas Creager (JIRA)" <ji...@apache.org> on 2012/09/13 23:17:07 UTC

[jira] [Updated] (AVRO-1129) Schema deletion cheking

     [ https://issues.apache.org/jira/browse/AVRO-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Douglas Creager updated AVRO-1129:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.2
           Status: Resolved  (was: Patch Available)

Even though this changes the signature of avro_schema_decref, it's a backwards-compatible change in both the API and ABI.  Merged into SVN.
                
> Schema deletion cheking
> -----------------------
>
>                 Key: AVRO-1129
>                 URL: https://issues.apache.org/jira/browse/AVRO-1129
>             Project: Avro
>          Issue Type: Improvement
>          Components: c
>    Affects Versions: 1.7.1
>            Reporter: Pugachev Maxim
>             Fix For: 1.7.2
>
>         Attachments: AVRO-1129.patch
>
>
> In the current code there is no ability to check if schema is alive after avro_schema_decref() call. I.e.:
> schema = avro_schema_from_json();
> do_something (schema); // call to avro_schema_decref. maybe.
> if (!schema_is_alive) // can`t check it
>   cleanup();

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira