To summarize, the 10k limit is not per CCB but per adminOwnerSet call.
The limit has nothing to do with avoiding "corruption in IMM".
It simply has to do with the size of some messages being sent over the system.
The ticket needs to be re-writen/re-defined. Best probably to close this one
and maybe re-open
a new ticket.
I agree that ERR_LIBRARY is not the correct return code for this case.
ERR_NO_RESOURCES would
be better. Probably the documentation needs an update explaining the limit on
the number of
objects covered (explicitly, or implicitly by subtree recursion) for an
admin-owner-set.
An enhancement could in theory be defined to implement support for setting
admin owner over
larger number of objectst using one imm API call. But that use case is very
rare outside of testing
and a work arround should exist for the application (or immtools internally) to
generate more than
one admin-owner set call still within the same CCB.
---
** [tickets:#2284] IMM: Improper return code without any error string while
deleting large number of objects**
**Status:** unassigned
**Milestone:** 5.2.RC1
**Created:** Wed Feb 01, 2017 07:13 AM UTC by Chani Srivastava
**Last Updated:** Fri Mar 03, 2017 01:18 PM UTC
**Owner:** nobody
Steps to reproduce:
1. Bring up opensaf on a cluster
2. Create around 10k objects
3. Try deleating these objects in one immcfg operation
Output:
Error Returned - error - saImmOmAdminOwnerSet FAILED: SA_AIS_ERR_LIBRARY (2)
No error string stating the cause of failure is returned.
Syslog - immcfg: ER TOO MANY Object Names line:733
Expected behavior - Proper return code with error string should be returned
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets