[
https://issues.apache.org/jira/browse/HDDS-14509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-14509:
-------------------------------
Description:
Currently, if OM follower read is enabled, all OM followers will serve read
requests even if the client does not enable the follower read.
For read-only client, this might be unexpected since they expect the OM
follower to throw OMNotLeaderException.
We can support some kind of OM request metadata to indicate to the OM whether
the client enables the follower read or not. This can be initial implementation
of configurable client read consistency. Currently we only support LEADER_ONLY
and LINEARIZABLE. However, in the future we can add things such as
STALE_BOUNDED_READS.
was:
Currently, if OM follower read is enabled, all OM followers will serve read
requests even if the client does not enable the follower read.
For read-only client, this might be unexpected since they expect the OM
follower to throw OMNotLeaderException.
We can support some kind of OM request metadata to indicate to the OM whether
the client enables the follower read or not. This can be initial implementation
of configurable client read consistency.
> Allow client to choose to read consistency level
> ------------------------------------------------
>
> Key: HDDS-14509
> URL: https://issues.apache.org/jira/browse/HDDS-14509
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
>
> Currently, if OM follower read is enabled, all OM followers will serve read
> requests even if the client does not enable the follower read.
> For read-only client, this might be unexpected since they expect the OM
> follower to throw OMNotLeaderException.
> We can support some kind of OM request metadata to indicate to the OM whether
> the client enables the follower read or not. This can be initial
> implementation of configurable client read consistency. Currently we only
> support LEADER_ONLY and LINEARIZABLE. However, in the future we can add
> things such as STALE_BOUNDED_READS.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]