Following a record add or update that called a record update callback function, the current record offset might differ from the offset of the added or updated record. This could cause ctdbWriteRecord() to return error 767 (FALG_ERR), or it could cause application errors due to using the wrong record offset. The logic has been enhanced to prevent this.