[
https://issues.apache.org/jira/browse/HDDS-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham updated HDDS-1250:
-------------------------------------
Description:
In OM HA, currently when allocateBlock is called, in applyTransaction() on all
OM nodes, we make a call to SCM and write the allocateBlock information into OM
DB. The problem with this is, every OM allocateBlock and appends new BlockInfo
into OMKeyInfom and also this a correctness issue. (As all OM's should have the
same block information for a key, even though eventually this might be changed
during key commit)
Proposed approach is:
1. Calling SCM will happen outside of ratis, and this block information is
passed and writing to DB wi
was:In OM HA, currently when allocateBlock is called, in applyTransaction()
on all OM nodes, we make a call to SCM and write the allocateBlock information
into OM DB. The problem with this is, every OM allocateBlock and appends new
BlockInfo into OMKeyInfom and also this a correctness issue. (As all OM's
should have the same block information for a key, even though eventually this
might be changed during key commit)
> In OM HA AllocateBlock call where connecting to SCM from OM should not happen
> on Ratis
> --------------------------------------------------------------------------------------
>
> Key: HDDS-1250
> URL: https://issues.apache.org/jira/browse/HDDS-1250
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
>
> In OM HA, currently when allocateBlock is called, in applyTransaction() on
> all OM nodes, we make a call to SCM and write the allocateBlock information
> into OM DB. The problem with this is, every OM allocateBlock and appends new
> BlockInfo into OMKeyInfom and also this a correctness issue. (As all OM's
> should have the same block information for a key, even though eventually this
> might be changed during key commit)
>
> Proposed approach is:
> 1. Calling SCM will happen outside of ratis, and this block information is
> passed and writing to DB wi
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]