Queue Export Functionality Returns Duplicate Data #1876
umar-zealtouch
started this conversation in
BUG
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using the queue export feature with multiple queues, the exported files contain duplicate records. This issue is observed when exporting data from more than one queue. For example, when creating three queues and exporting data, the resulting CSV or XLSX files contain some duplicate records instead of unique data sets in each file.
Below is my code.
PowerGrid::exportable('Labels') ->stripTags(true) ->type(Exportable::TYPE_XLS, Exportable::TYPE_CSV) ->queues(3) ->onQueue('exports') ->onConnection('redis'))
And attached is the result sets.
labels-4.33-5-RsO7pGQBypJeSdBNUqn0.csv
labels-2.67-3.33-RsO7pGQBypJeSdBNUqn0.csv
labels-1-1.67-RsO7pGQBypJeSdBNUqn0.csv
Beta Was this translation helpful? Give feedback.
All reactions