asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Hillery (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-1099) Format printers may have multi-threading errors
Date Thu, 17 Sep 2015 20:21:04 GMT

    [ https://issues.apache.org/jira/browse/ASTERIXDB-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14804422#comment-14804422
] 

Chris Hillery commented on ASTERIXDB-1099:
------------------------------------------

So the corresponding PrinterFactories would do something with ThreadLocal? Can that be done
efficiently (ie., without synchronized blocks)?

> Format printers may have multi-threading errors
> -----------------------------------------------
>
>                 Key: ASTERIXDB-1099
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1099
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB
>            Reporter: Chris Hillery
>            Assignee: Chris Hillery
>            Priority: Minor
>
> Several of the printers - for instance, org.apache.asterix.dataflow.data.nontagged.printers.AUUIDPrinter
- have a static member which is used for formatting the data. This static member would be
shared by any threads on the NC and is not synchronized, so there is at least the possibility
of data corruption.



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

Mime
View raw message