Skip to content

Latest commit

 

History

History

disk_buffer_persistence_correctness

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Disk Buffering Persistence Correctness Test

This test is designed to ensure data is persisted to disk properly when disk buffers are configured. This is an important test to reduce data loss and prevent disruption when downstream services fail.

Design

  1. Configure all subjects to use disk-buffers output to a downstream service.
  2. Start the subject.
  3. Shutdown the downstream service.
  4. Send data to the subject.
  5. Restart the subject.
  6. Bring the downstream service back online.
  7. Assert that data was evetually received.

Caveats

This test is not designed to verify at least once delivery, some data loss is acceptable. This test verifies that data is reasonably persisted to disk and made available between restarts.

Results

Subject Result
Filebeat
FluentBit
FluentD
Logstash ⚠️[1]
Splunk HF
Splunk UF
Vector
  1. After many hours of trying, were unable to get Logstash to work at all for this test. It seems unlikely that their persistent queues feature does not work, and it's more likely that we do not understand something. The documentation failed to help us.

Try It

bin/test -t disk_buffer_persistence_correctness

Resources