Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop infinite loop #1795

Closed
wants to merge 2 commits into from
Closed

stop infinite loop #1795

wants to merge 2 commits into from

Conversation

dsl400
Copy link

@dsl400 dsl400 commented Dec 29, 2023

INSERT INTO _analytics is causing an infinite loop when logflare uses postgres as backend

INSERT INTO _analytics is causing an infinite loop when logflare uses postgres as backend

PS: this is my first interaction with go ...
INSERT INTO _analytics is causing an infinite loop when logflare uses postgres as backend

PS: this is my second interaction with go ...
@dsl400 dsl400 requested a review from a team as a code owner December 29, 2023 22:33
@coveralls
Copy link

Pull Request Test Coverage Report for Build 7360276846

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.03%) to 58.295%

Totals Coverage Status
Change from base Build 7358596869: -0.03%
Covered Lines: 6005
Relevant Lines: 10301

💛 - Coveralls

@dsl400 dsl400 mentioned this pull request Dec 30, 2023
@sweatybridge
Copy link
Contributor

@Ziinc could you take a closer look at this to see if a logflare version bump is needed?

@Ziinc
Copy link
Contributor

Ziinc commented Jan 3, 2024

cannot be replicated on main.

@dsl400 Are you enabling audit logs globally? If that is the case then it is expected to view these logs and the resultant loop. Suppressing these is not a good idea as they represent active transactions taking place on the db.

Using session/object audit logging is advisable in such situations

Closing

@Ziinc Ziinc closed this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants