[
https://issues.apache.org/jira/browse/IGNITE-26508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033774#comment-18033774
]
Ignite TC Bot commented on IGNITE-26508:
----------------------------------------
{panel:title=Branch: [pull/12447/head] Base: [master] : Possible Blockers
(3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Platform .NET (Windows){color} [[tests 0 TIMEOUT , Exit Code
|https://ci2.ignite.apache.org/viewLog.html?buildId=8677490]]
{color:#d04437}Platform .NET (Core Linux){color} [[tests 0 TIMEOUT , Exit Code
, TC_SERVICE_MESSAGE
|https://ci2.ignite.apache.org/viewLog.html?buildId=8677492]]
{color:#d04437}Cache 4{color} [[tests 0 TIMEOUT , Exit Code
|https://ci2.ignite.apache.org/viewLog.html?buildId=8677496]]
{panel}
{panel:title=Branch: [pull/12447/head] Base: [master] : No new tests
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8675402&buildTypeId=IgniteTests24Java8_RunAll]
> DirectMessageWriter should incapsulate buffer
> ---------------------------------------------
>
> Key: IGNITE-26508
> URL: https://issues.apache.org/jira/browse/IGNITE-26508
> Project: Ignite
> Issue Type: Improvement
> Reporter: Maksim Timonin
> Assignee: Maksim Timonin
> Priority: Major
> Labels: IEP-132, ise
> Fix For: 2.18
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> MessageSerializer accepts buffer from ByteBufferStream, and invokes setBuffer
> for every message. But it looks like every MessageWriter use the same buffer
> every time, and this buffer is stored in
> GridIoSelectorNioSessionImpl#writeBuffer.
> We want to simplify API for MessageSerializer - remove buffer from readFrom,
> writeTo. Buffer is an implementation specific detail.
> Root changes:
> # Remove ByteBuffer from MessageSerializer#writeTo, #readFrom
> # Move setBuffer logic to DirectMessageReader/Writer
> # Refactor ClientMessage handling in GridNioServer
--
This message was sent by Atlassian Jira
(v8.20.10#820010)