You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2019/10/21 21:14:00 UTC
[jira] [Created] (HDDS-2343) Add immutable entries in to the
DoubleBuffer.
Bharat Viswanadham created HDDS-2343:
----------------------------------------
Summary: Add immutable entries in to the DoubleBuffer.
Key: HDDS-2343
URL: https://issues.apache.org/jira/browse/HDDS-2343
Project: Hadoop Distributed Data Store
Issue Type: Task
Reporter: Bharat Viswanadham
Assignee: Bharat Viswanadham
OMBucketCreateRequest.java L181:
omClientResponse =
new OMBucketCreateResponse(omBucketInfo,
omResponse.build());
We add this to double-buffer, and double-buffer flushThread which is running in the background when picks up, converts to protoBuf and to ByteArray and write to rocksDB tables. So, during this conversion, if any other request changes internal structure(like acls list) of OMBucketInfo we might get ConcurrentModificationException.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org