Bug 1694925 - GF_LOG_OCCASSIONALLY API doesn't log at first instance
Summary: GF_LOG_OCCASSIONALLY API doesn't log at first instance
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: logging
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1695390 1695391
TreeView+ depends on / blocked
 
Reported: 2019-04-02 05:32 UTC by Atin Mukherjee
Modified: 2019-04-03 02:38 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
: 1695390 1695391 (view as bug list)
Environment:
Last Closed: 2019-04-02 10:57:31 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22475 0 None Merged logging: Fix GF_LOG_OCCASSIONALLY API 2019-04-02 10:57:30 UTC

Description Atin Mukherjee 2019-04-02 05:32:05 UTC
Description of problem:

    GF_LOG_OCCASSIONALLY doesn't log on the first instance rather at every
    42nd iterations which isn't effective as in some cases we might not have
    the code flow hitting the same log for as many as 42 times and we'd end
    up suppressing the log.


Version-Release number of selected component (if applicable):

Mainline

How reproducible:

Always

Comment 1 Worker Ant 2019-04-02 05:35:15 UTC
REVIEW: https://review.gluster.org/22475 (logging: Fix GF_LOG_OCCASSIONALLY API) posted (#1) for review on master by Atin Mukherjee

Comment 2 Worker Ant 2019-04-02 10:57:31 UTC
REVIEW: https://review.gluster.org/22475 (logging: Fix GF_LOG_OCCASSIONALLY API) merged (#2) on master by Atin Mukherjee


Note You need to log in before you can comment on or make changes to this bug.