emqx/apps/emqx_durable_storage/src
Thales Macedo Garitezi 796c04e7a8 test: fix flaky test
We should emit the trace event before replying to callers.

Example failure:

https://github.com/emqx/emqx/actions/runs/8378977952/job/22946318696#step:6:182

```
 =CRITICAL REPORT==== 21-Mar-2024::17:45:37.676024 ===
"check stage" failed: error
{assertMatch,[{module,emqx_ds_storage_bitfield_lts_SUITE},
              {line,270},
              {expression,"? of_kind ( emqx_ds_replication_layer_egress_flush , Trace )"},
              {pattern,"[ # { batch := [ _ , _ , _ ] } ]"},
              {value,[]}]}
Stacktrace: [{emqx_ds_storage_bitfield_lts_SUITE,
                 '-t_atomic_store_batch/1-fun-1-',1,
                 [{file,
                      "/__w/emqx/emqx/apps/emqx_durable_storage/test/emqx_ds_storage_bitfield_lts_SUITE.erl"},
                  {line,270}]},
             {emqx_ds_storage_bitfield_lts_SUITE,t_atomic_store_batch,1,
                 [{file,
                      "/__w/emqx/emqx/apps/emqx_durable_storage/test/emqx_ds_storage_bitfield_lts_SUITE.erl"},
                  {line,249}]}]
```
2024-03-21 15:47:29 -03:00
..
proto Merge remote-tracking branch 'upstream/release-56' into 0319-sync-release56 2024-03-19 15:20:08 +01:00
emqx_ds_app.erl chore(ds): Change the license to Apache 2.0 2024-02-01 00:10:48 +01:00
emqx_ds_bitmask_keymapper.erl feat(dsrepl): make storage layer unaware of granularity of time 2024-03-20 13:20:23 +01:00
emqx_ds_bitmask.hrl fix(ds): Apply review remarks 2024-02-05 16:52:06 +01:00
emqx_ds_builtin_db_sup.erl fix(dsrepl): use correct base dir for ra system stuff 2024-03-20 13:20:24 +01:00
emqx_ds_builtin_sup.erl feat(ds): Introduce egress process for the builtin backend 2024-01-24 19:33:30 +01:00
emqx_ds_lts.erl fix(sessds): Improve comments 2024-01-26 17:49:33 +01:00
emqx_ds_replication_layer_egress.erl test: fix flaky test 2024-03-21 15:47:29 -03:00
emqx_ds_replication_layer_meta.erl fix(dsrepl): increase replication site id bitsize back 2024-03-20 13:20:24 +01:00
emqx_ds_replication_layer_shard.erl fix(dsrepl): turn memoize into a safer function 2024-03-20 13:20:24 +01:00
emqx_ds_replication_layer.erl chore(dsrepl): mark per-node add_generation RPC target obsolete 2024-03-20 13:20:24 +01:00
emqx_ds_replication_layer.hrl feat(dsrepl): make storage layer unaware of granularity of time 2024-03-20 13:20:23 +01:00
emqx_ds_replication_shard_allocator.erl refactor(dsrepl): make shard allocator more robust and consistent 2024-03-20 13:20:24 +01:00
emqx_ds_storage_bitfield_lts.erl feat(dsrepl): make storage layer unaware of granularity of time 2024-03-20 13:20:23 +01:00
emqx_ds_storage_layer_sup.erl chore(ds): Change the license to Apache 2.0 2024-02-01 00:10:48 +01:00
emqx_ds_storage_layer.erl fix(dsrepl): properly handle error conditions in generation mgmt 2024-03-20 13:20:24 +01:00
emqx_ds_storage_reference.erl feat(dsrepl): make storage layer unaware of granularity of time 2024-03-20 13:20:23 +01:00
emqx_ds_sup.erl chore(ds): Change the license to Apache 2.0 2024-02-01 00:10:48 +01:00
emqx_ds.erl feat(dsrepl): use more straightforward way to drop ra shards 2024-03-20 13:20:23 +01:00
emqx_durable_storage.app.src feat(dsrepl): implement raft-based replication 2024-03-19 20:09:44 +01:00