Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
2.9.0
-
None
Description
The redis pipeline object only sends executed commands to the redis server when sync() or close() are called. If these are not called, the calls stay inside the buffer. As teardown is not guaranteed to be called, we should call pipeline.sync() inside finishBundle, after pipeline.exec(). docs
@FinishBundle
public void finishBundle() {
if (pipeline.isInMulti())
batchCount = 0;
}
@Teardown
public void teardown()
Attachments
Issue Links
- links to