[ClusterLabs] Question on sharing data with DRDB

Digimer lists at alteeve.ca
Wed Mar 20 15:02:10 EDT 2019


On 2019-03-20 2:45 p.m., Valentin Vidic wrote:
> On Wed, Mar 20, 2019 at 07:31:02PM +0100, Valentin Vidic wrote:
>> Right, but I'm not sure how this would help in the above situation
>> unless the DRBD can undo the local write that did not succeed on the
>> peer?
> 
> Ah, it seems the activity log handles the undo by storing the
> location of these dirty blocks (not replicated properly):
> 
>   https://docs.linbit.com/docs/users-guide-8.4/#s-activity-log
> 
> So on resync these blocks would get copied from the new primary.

Post recovery, yes. If the node that is behind tried to read from an out
of sync block, the read would come from the uptodate node.

-- 
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould


More information about the Users mailing list