I just discovered gluster's trashcan support, but I was surprised to see that we can only limit the max file size and not the size of the trashcan itself (like we can on Windows, for example).
This ticket is the feature request to add such a total max. The files would be automatically cleaned out FIFO.
Documentation link https://docs.gluster.org/en/latest/Administrator%20Guide/Trash/
This bug is moved to https://github.com/gluster/glusterfs/issues/877, and will be tracked there from now on. Visit GitHub issues URL for further details