[Linux-cluster] F_SETLK fails after recovery
Neale Ferguson
neale at sinenomine.net
Tue Sep 2 16:24:07 UTC 2014
In retrieve_plocks_stored() there is the code:
retrieve_plocks(ls, &sig);
if ((hd->flags & DLM_MFLG_PLOCK_SIG) && (sig != hd->msgdata2)) {
log_error("lockspace %s plock disabled our sig %x "
"nodeid %d sig %x", ls->name, sig, hd->nodeid,
hd->msgdata2);
ls->disable_plock = 1;
ls->need_plocks = 1; /* don't set HAVEPLOCK */
ls->save_plocks = 0;
return;
}
Node 1 is getting rc=12 from saCkptCheckpointOpen (SA_AIS_ERR_NOT_EXIST). However, this error is ignored and we process the sig value as if is valid rather than an uninitialized value that was never set by the retrieve_plocks() function. So I guess the question is why can't it find the checkpoint file and/or what is the correct action when the sig value cannot be retrieved?
Neale
On Sep 2, 2014, at 12:02 PM, Neale Ferguson <neale at sinenomine.net> wrote:
> Thanks David,
> That makes sense as there's this message that precedes the disable message in the log:
>
> retrieve_plocks ckpt open error 12 lvclusdidiz0360
>
> Neale
>
> On Sep 2, 2014, at 11:37 AM, David Teigland <teigland at redhat.com> wrote:
>
>> On Tue, Sep 02, 2014 at 02:56:52PM +0000, Neale Ferguson wrote:
>>
>>> 1409631951 lockspace lvclusdidiz0360
>>> plock disabled our sig 816fba01 nodeid 2 sig 2f6b
>>
>> There is a difference in plock data signatures between the node that wrote
>> the data and the node that read it (this one). This indicates that the
>> plock data was not synced correctly by the openais/corosync checkpoints,
>> or that the signatures were not synced correctly (e.g bug 623816).
>>
>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
More information about the Linux-cluster
mailing list