Issue #3059030 by acbramley, mr.baileys, smustgrave: Node access table can be left in inconsistent state if node_access_needs_rebuild is not set
#474441
#474437
#474435