- **status**: review --> fixed
- **Comment**:

commit e1a5ec45c571462982a51df11acdee8958431f38 (HEAD -> develop, 
origin/develop, ticket-3180)
Author: thang.d.nguyen <[email protected]>
Date:   Fri Apr 24 13:34:41 2020 +0700

    lgs: use local mononitic clock instead of getting from active  [#3180]

    When NFS is unavailable, client try to write to log. Lgs server
    will put it into the queue with the time. This info will check point
    with standby. Switch-over happens, and NFS is available again. New active
    will get the diffent time b/w current time and the time put into the queue.
    The timer on node can be different and it causes the coredump due to
    the current time less then time put into the queue.

    The fix is to use the local mononitic clock instead of getting from
    active.




---

** [tickets:#3180] log: logd crashes during switch-over with resilience 
feature**

**Status:** fixed
**Milestone:** 5.20.05
**Created:** Fri Apr 24, 2020 06:22 AM UTC by Thang Duc Nguyen
**Last Updated:** Fri Apr 24, 2020 08:42 AM UTC
**Owner:** Thang Duc Nguyen


When NFS  is unavailable, client try to write to log. At that time, switch-over 
 Opensaf service.
Then NFS is available again. The logd on new active crashes due to mismatch 
timer with old active. 
~~~
(gdb) bt
#0  0x00007f8c5f587f77 in raise () from /lib64/libc.so.6
#1  0x00007f8c5f58934a in abort () from /lib64/libc.so.6
#2  0x00007f8c5f580d76 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007f8c5f580e22 in __assert_fail () from /lib64/libc.so.6
#4  0x00005585ca9506f9 in operator- (ts2=<synthetic pointer>..., ts1=<synthetic 
pointer>...) at ./src/base/time.h:61
#5  Cache::Data::is_overdue (this=this@entry=0x5585cc12c918) at 
src/log/logd/lgs_cache.cc:176
#6  0x00005585ca9508fd in Cache::Data::is_valid 
(this=this@entry=0x5585cc12c918, reason=reason@entry=0x7ffe7304d370) at 
src/log/logd/lgs_cache.cc:184
#7  0x00005585ca952187 in Cache::PopOverdueData (this=this@entry=0x5585cab70c60 
<Cache::instance()::cache>) at src/log/logd/lgs_cache.cc:416
#8  0x00005585ca952368 in Cache::PeriodicCheck (this=0x5585cab70c60 
<Cache::instance()::cache>) at src/log/logd/lgs_cache.cc:369
#9  0x00005585ca908ee8 in main (argc=<optimized out>, argv=<optimized out>) at 
src/log/logd/lgs_main.cc:559
~~~


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to