[
https://issues.apache.org/jira/browse/HBASE-17049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667229#comment-15667229
]
Duo Zhang commented on HBASE-17049:
-----------------------------------
I think I found a possible reason that why AsyncFSWAL issues 'more' syncs than
FSHLog.
For FSHLog, if the currentPacket is full, then it will be queued to the
dataQueue and processed by DataStreamer. We do not consider this as a sync. But
for AsyncFSWAL, every packet that sent to DN will be included when compute the
sync count.
So the comparison of sync count in our WAL metrics is meaningless. We need to
get the number of packets sent to DN for FSHLog and compare it with the sync
count for AsyncFSWAL.
Thanks.
> Find out why AsyncFSWAL issues much more syncs than FSHLog
> ----------------------------------------------------------
>
> Key: HBASE-17049
> URL: https://issues.apache.org/jira/browse/HBASE-17049
> Project: HBase
> Issue Type: Sub-task
> Components: wal
> Affects Versions: 2.0.0
> Reporter: Duo Zhang
> Fix For: 2.0.0
>
>
> https://issues.apache.org/jira/browse/HBASE-16890?focusedCommentId=15647590&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15647590
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)