Skip to content

Do msgs mixed with each other when many clients call log_error at the same time? #2

@shangshujie365

Description

@shangshujie365

Hi, are you still working on this project?
I have a question, if many client call 'select log_error' at the same time, will the msg wrote to error file be mixed with each other? Because many threads write a single file at the same time.
If so, How to solve this problem? Do we need a lock to protect data before we write msg out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions