[
https://issues.apache.org/jira/browse/ASTERIXDB-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791148#comment-14791148
]
Till Westmann commented on ASTERIXDB-1099:
------------------------------------------
And it does have state. It seems to me that the right approach to fix this
would be to to have one printer per thread (and not to synchronize then).
Would you agree?
> 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)