orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From majetideepak <...@git.apache.org>
Subject [GitHub] orc issue #65: ORC-110: [C++] getTimezoneByFilename is not thread safe
Date Fri, 18 Nov 2016 03:45:46 GMT
Github user majetideepak commented on the issue:

    https://github.com/apache/orc/pull/65
  
    I believe ORC library must be compatible without C++11 support too.
    I don't think just locking the write `timezoneCache[filename] = result;` is sufficient.
The reads must be protected too. A write by one thread could be mutating an element being
read by another thread.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message