[
https://issues.apache.org/jira/browse/HBASE-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265425#comment-13265425
]
Todd Lipcon commented on HBASE-5886:
------------------------------------
To fill in some color, we had a customer complaining of data loss after a
crash. We spent many hours doing post mortem analysis, and only after we ruled
out lots and lots of corner case possibilities did we come to find out that the
user's application had set the writeToWAL flag false in a small number of their
puts. Having the log message and the metric make it easy to say "yea, you got
data loss, but here's a smoking gun which shows you explicitly disabled WAL for
some puts in that region". This is important in lots of environments where
HBase ops/support may be distinct from the users writing applications, and may
not even have access to the source code of those applications.
> Add new metric for possible data loss due to puts without WAL
> --------------------------------------------------------------
>
> Key: HBASE-5886
> URL: https://issues.apache.org/jira/browse/HBASE-5886
> Project: HBase
> Issue Type: New Feature
> Components: metrics, regionserver
> Reporter: Matteo Bertozzi
> Assignee: Matteo Bertozzi
> Priority: Minor
> Labels: metrics
> Attachments: HBASE-5886-v0.patch, HBASE-5886-v1.patch,
> HBASE-5886-v2.patch
>
>
> Add a metrics to keep track of puts without WAL and possible data loss size.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira