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

Don't warn about missing keys when reading symbol ref as it is common to try to read a non-existent symbol #2153

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

poodlewars
Copy link
Collaborator

Tested manually running this script:

from arcticdb import Arctic
import pandas as pd
import arcticdb_ext as ae
print(ae.__file__)

ac = Arctic("s3://172.17.0.2:9000:aseaton?access=3SePAqKdc1O7JgeDIJob&secret=...")
lib = ac.get_library("tst_logging", create_if_missing=True)

df = pd.DataFrame({"a": [1, 2, 3]})
lib.write("tst", df)

lib.has_symbol("aaa")

Before the change this logged,

(310) ➜  python git:(aseaton/8350109779/noisy-logging) ✗ python ./tst.py 
/home/alex/venvs/310/lib/python3.10/site-packages/arcticdb_ext.cpython-310-x86_64-linux-gnu.so
20250129 10:56:31.466366 175505 W arcticdb | Failed to find segment for key 'r:aaa' : No response body.
20250129 10:56:31.466924 175505 W arcticdb | Failed to find segment for key 'V:aaa' : No response body.

after the change this logged,

(310) ➜  python git:(aseaton/8350109779/noisy-logging) ✗ python ./tst.py 
/code/arcticdb.git/man_bug/python/arcticdb_ext.cpython-310-x86_64-linux-gnu.so

The suppression got dropped in 32341ae .

Reference Issues/PRs

8350109779

… to try to read a non-existent symbol

8350109779
@poodlewars poodlewars added the bug Something isn't working label Jan 29, 2025
@poodlewars poodlewars merged commit 7c793a7 into master Jan 29, 2025
149 checks passed
@poodlewars poodlewars deleted the aseaton/8350109779/noisy-logging branch January 29, 2025 13:49
jamesmunro pushed a commit that referenced this pull request Feb 25, 2025
… to try to read a non-existent symbol (#2153)

Tested manually running this script:

```
from arcticdb import Arctic
import pandas as pd
import arcticdb_ext as ae
print(ae.__file__)

ac = Arctic("s3://172.17.0.2:9000:aseaton?access=3SePAqKdc1O7JgeDIJob&secret=...")
lib = ac.get_library("tst_logging", create_if_missing=True)

df = pd.DataFrame({"a": [1, 2, 3]})
lib.write("tst", df)

lib.has_symbol("aaa")
```

Before the change this logged,

```
(310) ➜  python git:(aseaton/8350109779/noisy-logging) ✗ python ./tst.py 
/home/alex/venvs/310/lib/python3.10/site-packages/arcticdb_ext.cpython-310-x86_64-linux-gnu.so
20250129 10:56:31.466366 175505 W arcticdb | Failed to find segment for key 'r:aaa' : No response body.
20250129 10:56:31.466924 175505 W arcticdb | Failed to find segment for key 'V:aaa' : No response body.
```

after the change this logged,

```
(310) ➜  python git:(aseaton/8350109779/noisy-logging) ✗ python ./tst.py 
/code/arcticdb.git/man_bug/python/arcticdb_ext.cpython-310-x86_64-linux-gnu.so
```

The suppression got dropped in
32341ae
.

#### Reference Issues/PRs

8350109779
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

Successfully merging this pull request may close these issues.

3 participants