This will test that ctdb_fetch_lock correctly revokes readonly
delegations.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(Imported from commit
30f7d7db8c0bf370464238133f75b5e0bdce37c6)
printf("Trying to fetch lock the record ...\n");
- h = ctdb_fetch_readonly_lock(ctdb_db, tmp_ctx, key, &data, false);
+ h = ctdb_fetch_lock(ctdb_db, tmp_ctx, key, &data);
if (h == NULL) {
printf("Failed to fetch record '%s' on node %d\n",
(const char *)key.dptr, ctdb_get_pnn(ctdb));