Commit 24c394cb authored by Robert Ricci's avatar Robert Ricci
Browse files

Hah, I had the primary key for virt_node_desires wrong - it should allow

multiple desires for each vnode.
parent b32534b2
......@@ -1506,7 +1506,7 @@ CREATE TABLE virt_node_desires (
vname varchar(32) NOT NULL default '',
desire varchar(30) NOT NULL default '',
weight float default NULL,
PRIMARY KEY (pid,eid,vname)
PRIMARY KEY (pid,eid,vname,desire)
) TYPE=MyISAM;
--
......
......@@ -992,3 +992,9 @@ last_net_act,last_cpu_act,last_ext_act);
eid varchar(32) not null, vname varchar(32) not null, \
desire varchar(30) not null, weight float, \
primary key(pid,eid,vname));
1.189: Hah, I had the primary key for virt_node_desires wrong - it should
allow multiple desires for each vnode:
alter table virt_node_desires drop primary key;
alter table virt_node_desires add primary key(pid,eid,vname,desire);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment