lib/dynflow/world/invalidation.rb
def locks_validity_check
        orphaned_locks = coordinator.clean_orphaned_locks

        unless orphaned_locks.empty?
          logger.error "invalid coordinator locks found and invalidated: #{orphaned_locks.inspect}"
        end

        return orphaned_locks
      end
# Cleans up locks which don't have a resource
#
# @return [Array<Coordinator::Lock>] the removed locks
Cleans up locks which don't have a resource
Cleans up locks which don ' t have a resource
def locks_validity_check
        orphaned_locks = coordinator.clean_orphaned_locks
        unless orphaned_locks.empty?
          logger.error "invalid coordinator locks found and invalidated: #{orphaned_locks.inspect}"
        end
        return orphaned_locks
      end
def locks_validity_check orphaned_locks = coordinator . clean_orphaned_locks unless orphaned_locks . empty? logger . error "invalid coordinator locks found and invalidated: #{orphaned_locks.inspect}" end return orphaned_locks end
Cleans up locks which don't have a resource
Cleans up locks which don ' t have a resource
the removed locks
the removed locks
Array<Coordinator::Lock>