[
https://issues.apache.org/jira/browse/IGNITE-26608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mikhail Petrov updated IGNITE-26608:
------------------------------------
Description:
It is proposed to create an ThreadLocal storage (Context) with the following
properties
a) Ignite-independent
b) stores arbitrary attributes and their corresponding values
c) provides the ability to update attribute values
d) provides the ability to automatically undo the last Context update,
restoring previous attribute values, after the corresponding operation completes
e) provides the ability to creates a snapshot of stored attributes and
their values
f) provides the ability to restores attribute values from snapshot to
Context in another thread
This will help create a unified mechanism for attaching arbitrary data to an
operation for its duration, as well as the ability to move context attribute
values between threads.
For more in for see IEP-143
-https://cwiki.apache.org/confluence/display/IGNITE/IEP-143+Context+Propagation
> Add a unified mechanism for propagating the operation context
> -------------------------------------------------------------
>
> Key: IGNITE-26608
> URL: https://issues.apache.org/jira/browse/IGNITE-26608
> Project: Ignite
> Issue Type: Task
> Reporter: Mikhail Petrov
> Assignee: Mikhail Petrov
> Priority: Major
> Labels: ise
> Fix For: 2.19
>
> Time Spent: 9h
> Remaining Estimate: 0h
>
> It is proposed to create an ThreadLocal storage (Context) with the following
> properties
> a) Ignite-independent
> b) stores arbitrary attributes and their corresponding values
> c) provides the ability to update attribute values
> d) provides the ability to automatically undo the last Context
> update, restoring previous attribute values, after the corresponding
> operation completes
> e) provides the ability to creates a snapshot of stored attributes
> and their values
> f) provides the ability to restores attribute values from snapshot to
> Context in another thread
> This will help create a unified mechanism for attaching arbitrary data to an
> operation for its duration, as well as the ability to move context attribute
> values between threads.
> For more in for see IEP-143
> -https://cwiki.apache.org/confluence/display/IGNITE/IEP-143+Context+Propagation
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)