Duplicate SQL processor registrations after agent restart
When a Lenses agent restarted, its in-memory processor state was empty. This caused the duplicate-registration guard to be blind to processors that already existed in the database, allowing the same SQL query to be registered again — creating duplicate processors.