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

Suspicious Long-Term Leftover Messages in Message Table #498

Open
venezuela01 opened this issue Mar 22, 2024 · 0 comments
Open

Suspicious Long-Term Leftover Messages in Message Table #498

venezuela01 opened this issue Mar 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@venezuela01
Copy link

Describe the Bug

On the 5 out of 5 Oxen storage servers I investigated, I found some long-term leftover messages. These messages are rare, usually less than 10 per day, but seems to exist on every server. They have timestamps starting from July 31, 2023, and have very recent expiry dates, for example, April 5, 2024.

To Reproduce

Execute the following queries to count messages or public keys by date.

        SELECT
            DATE(timestamp / 1000, 'unixepoch') AS date,
            COUNT(*) AS message_count
        FROM
            owned_messages
        WHERE
            namespace = 0
        GROUP BY
            DATE(timestamp / 1000, 'unixepoch');
        SELECT
            DATE(timestamp / 1000, 'unixepoch') AS date,
            COUNT(DISTINCT pubkey) AS pubkey_count
        FROM
            owned_messages
        WHERE
            namespace = 0
        GROUP BY
            DATE(timestamp / 1000, 'unixepoch');

At the time of writing, all messages prior to February 8, 2024, should have already been deleted, in theory. I'm not sure if these leftover messages have anything to do with users complaining about seeing unexpected messages reappear, or if they are the result of a legacy bug that miscategorized configuration messages into namespace 0.

Screenshot

oxen_storage_server_chart

@venezuela01 venezuela01 added the bug Something isn't working label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant