carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkata Ramana G (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CARBONDATA-261) clean files is updating the stale segments to the table status.
Date Tue, 20 Sep 2016 19:04:20 GMT

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

Venkata Ramana G resolved CARBONDATA-261.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.2.0-incubating

> clean files is updating the stale segments to the table status.
> ---------------------------------------------------------------
>
>                 Key: CARBONDATA-261
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-261
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-load, data-query
>    Affects Versions: 0.1.0-incubating
>            Reporter: ravikiran
>            Assignee: ravikiran
>             Fix For: 0.2.0-incubating
>
>
> in clean files it will read the table status first and it will delete the physical locations
and update the table metadata  and then take the lock for writing and after that it will write
the old read list to the file.
> but this is wrong as in the time between the read and write the table status would have
been changed.
> so before writing it should read the table status again and update the changes and then
write.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message