On 2017-06-19 09:35, Fabian Grünbichler wrote:
I was afraid of something like this.. the whole API does not seem very though through unfortunately. let's see whether the paging is doable, and otherwise document this potential pitfall (e.g., having more than 10000 snapshots on a busy big storage node does not seem extremely far fetched..)
The new implementation of freenas_request for GET works very well unless your batch size is too small - for testing purposes I had the batch size configured to 2 in which case the returned result was incorrect (polling to quick broke the pagination on the server)
-- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir <at> datanom <dot> net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir <at> miras <dot> org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -------------------------------------------------------------- ---- This mail was virus scanned and spam checked before delivery. This mail is also DKIM signed. See header dkim-signature. _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel