Skip to content

AttributeError: 'MemoryCache' object has no attribute 'get_non_flushed_event_count' #88

@nazarov-ae

Description

@nazarov-ae

Hi
After updating the version from 2.7.0 to 2.7.1, an error appeared:

Exception in thread LogProcessingWorker:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 72, in run
    reraise(*_capture_exception())
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 99, in reraise
    raise value
  File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 70, in run
    return old_run_func(self, *a, **kw)
  File "/usr/local/lib/python3.8/site-packages/logstash_async/worker.py", line 91, in run
    self._setup_database()
  File "/usr/local/lib/python3.8/site-packages/logstash_async/worker.py", line 132, in _setup_database
    self._non_flushed_event_count = self._database.get_non_flushed_event_count()
AttributeError: 'MemoryCache' object has no attribute 'get_non_flushed_event_count'

b9a12a7#commitcomment-127016580

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions