allocate_ids() problem
Asked by
David Shifflett
I am trying to use db.allocate_
I am seeing two problems:
1. The tuple returned always has start and end equal
2. The allocation doesn't work correctly for 'count' values above 10,
it never allocates more than 10 (ID_BLOCK value in zktransaction.py)
Digging a little deeper I see some comments in allocate_
that mention 'assigning just one key'.
By 'key' does this really mean ID?
Why does allocate_
as a 'highest_key'?
Are the lines:
> response.
> response.
intentional (see problem 1 above)
Thanks for any light you can shed on this function / feature / bug.
dave
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- AppScale Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- David Shifflett
- Solved:
- Last query:
- Last reply:
To post a message you must log in.